rad2mat | R Documentation |
pyRAD.loci
objectThis function exports a matrix of sequences from a pyRAD.loci
object,
with aligned sequences in the cells, individuals as rows, and loci as columns.
As a matrix, this is very easy to work with in R for subsetting and creating
new datasets.
rad2mat(pyDat, fill.N = TRUE)
pyDat |
an object of class |
fill.N |
indicates whether empty cells should be filled with Ns ( |
In general, filling with Ns is a handy thing to do, even though it presumably eats up a bunch of memory. As written, RADami is not memory-friendly.
A matrix of sequences from a pyRAD.loci
object,
with aligned sequences in the cells, individuals as rows, and loci as columns
Andrew Hipp
rad2phy
,
summary.pyRAD.loci
data(oak.rads)
out <- rad2mat(oak.rads)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.