Description Usage Arguments Details Value Note Author(s) See Also
View source: R/summary.pyRAD.loci.R
This function provides the summary stats used by many functions in RADami
1 2 |
object |
an object of class |
... |
not currently used, but maintained for consistency with default |
This is currently called by default by read.pyRAD
, creating a list object called radSummary
in value for that object.
A list with of the following objects:
num.loci |
an integer, indicating how many loci there are in the object |
tips.per.locus |
a list of character vectors, enumerating the tips in each locus |
break.vectors |
a named character vector of the break lines between vectors, with names
corresponding to locus names – completely redundant with the same object in the
|
seqs.per.locus |
a list of named character vectors, enumerating the sequences in each locus, named by tips |
num.inds.per.locus |
an integer vector, indicating how many individuals are in each locus |
variable.loci |
a boolean vector, indicating which loci are variable (only using the pyRAD break vectors) |
inds.mat |
a handy boolean matrix with individuals as the rows and loci as the columns;
used in several places in |
locus.lengths |
an integer vector, indicating the length of each locus |
Probably these functions could be teased apart to be more useful and save space, but for now they are left as is. At this point, there is actually a fair bit of redundancy.
Andrew Hipp
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.