ts_names {slendr} | R Documentation |
Extract names of individuals in a tree sequence
Description
Extract names of individuals in a tree sequence
Usage
ts_names(ts, split = NULL)
Arguments
ts |
Tree sequence object of the class |
split |
Should sample names in the tree sequence be split by a column
(a population or time column)? Default is |
Value
A vector of character sample names. If split
is specified,
a list of such vectors is returned, one element of the list per population
or sampling time.
[Package slendr version 0.9.1 Index]