markfreq.condense {mixstock} | R Documentation |
"condenses" standard marker-frequency-list data (marker samples from sources and mixed stocks) by removing unrepresented markers, lumping markers where that removes no information, etc.
markfreq.condense(sourcesamp=NULL, mixsamp=NULL, debug=FALSE, exclude.nomix=FALSE)
sourcesamp |
Turtle data in standard form: list of sourcesamp (see below) and mixsamp OR matrix of source genotype samples (sources=columns, markers=rows) |
mixsamp |
Vector of mixed stock marker samples |
debug |
Print out debugging information? |
exclude.nomix |
Exclude markers not found in the mixed stock? |
Criteria:
"Standard" mixed stock analysis data set, suitably condensed.
sourcesamp |
source samples |
mixsamp |
mixed stock samples |
err |
was there an error in attempting to lump? |
Ben Bolker
data(lahanas98raw,package="mixstock") lahan98c <- markfreq.condense(as.mixstock.data(lahanas98raw))