Description Usage Arguments Details Value Author(s) See Also
This function begins essentially all analyses in this package. It reads in the pyRAD loci file and stores it in a form to facilitate a variety of downstream analyses coded in this package.
1 2 3 | read.pyRAD(filename, reportInterval = 20000,
breakLinesSeparate = FALSE,
doSummary = TRUE, ...)
|
filename |
name of the pyRAD loci file |
reportInterval |
how often to report progress while reading and processing files |
breakLinesSeparate |
are there separate break lines (blank) and summary lines (not blank) between loci in the pyRAD file? |
doSummary |
should |
... |
extra arguments to be passed along to |
As written, this function has a lot of summary embedded in it. The default doSummary = TRUE
should be left for the other higher-level functions to work properly
A list with the following items:
tips |
a character vector of the tips for each sequence |
seqs |
a character vector of all sequences |
breaks |
an integer vector indexing the lines that are breaks between loci |
break.vectors |
a named character vector of the break lines between vectors, with names corresponding to locus names |
cons |
a named character vector of the lines summarizing each locus, with names
corresponding to locus names; if |
locus.index |
an index corresponding to |
file.read |
name of the file read in |
timestamp |
timestamp for exiting the function |
radSummary |
an object of class |
Andrew Hipp
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.