Description Usage Arguments Value
View source: R/helperFunctions.R
Takes a data frame converting individual identifiers into cluster ids, and returns this same structure. The cluster ids (and individual ids within each cluster id) appear in the same order they appeared in the data.
1 | idsToList(ids)
|
ids |
A data frame containing 2 or more columns. The first are individual identifiers, the second are population identifiers. Any further columns are ignored. NB: Chromopainter excludes individuals in the third column that have a 0; you are advised to do this before passing to this function. |
A list of populations, named by the population identifiers. Each is a chartacter vector of the individual identifiers in each population.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.