
Extract names of individuals of interest in a tree sequence produced by a slendr model
Source:R/tree-sequences.R
ts_names.RdExtract names of individuals of interest in a tree sequence produced by a slendr model
Arguments
- x
Either a tree sequence object of the class
slendr_ts, or a compiled slendr model of the classslendr_model- split
Should sample names in the tree sequence be split by a column (a population or time column)? Default is
NULLand all names of samples will be returned as a single character vector. If set to "pop" or "time", a list of character vectors will be returned, one vector for each unique "pop" or "time" grouping.- schedule
If samples from a model (not yet a tree sequence) are to be obtained, this argument can be used to restrict the set of recorded individuals