Description Usage Arguments Details Value Examples
Sort runs in a qlist based on an attribute
1 |
qlist |
A qlist object |
by |
A valid attribute name. Generally 'k' or 'ind'. Structure runs can take
loci, burin, reps etc. Can take more than one name to arrange by multiple fields. For example |
decreasing |
A logical indicating the direction of sorting. |
debug |
Logical for internal use |
Argument 'by' can be any attribute name returned by sapply(qlist,attributes)
except 'names', 'class' and 'row.names'. This is usually similar to tabulateQ(qlist,sorttable=FALSE)
.
A sorted qlist object
1 2 3 4 5 | sfiles <- list.files(path=system.file("files/structure",package="pophelper"), full.names=TRUE)
slist <- readQ(sfiles)
slist_1 <- sortQ(slist)
names(slist)
names(slist_1)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.