Array construction in R, Perl, and Python

Array construction in R, Perl, and Python R:

Perl:

Python:

Shuffle sequences in DNASequenceSet lapply or sapply return…

Shuffle sequences in DNASequenceSet. lapply() or sapply() return list. endoapply() returns the same data class, DNASequenceSet. It is way slower, though.

For faster shuffling, look at the link. http://grokbase.com/t/r/bioconductor/133n8bw1f6/bioc-how-to-operate-on-a-dnastringset-object

A clever use of geom smooth position =…

A clever use of geom_smooth(position = ‘jitter’) for plots looking like hand-written.

http://drunks-and-lampposts.com/2012/10/02/clegg-vs-pleb-an-xkcd-esque-chart/