split_cnr | R Documentation |
split a cnr by one variable
split_cnr(cnr, split.by)
cnr |
a cnr object |
split.by |
name of the column to split. Must be a column in the phenotype or qc tables |
Function subsets based on 'split.by' and returns a list of named cnr objects. Element names are taken from the unique values of split.by
data(cnr)
cnrL <- split_cnr(cnr, split.by = "category1")
lapply(cnrL, summary_cnr)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.