samplesWith | R Documentation |
Filter a datatable to only samples with certain metadata characteristics
samplesWith(data, id_cols, complete = NULL, filter = NULL)
data |
Data table with metadata |
id_cols |
Vector of names of columns that uniquely identify subjects |
complete |
Get samples with all instances (complete cases) of this variable in the metadata |
filter |
(Optional) Vector of names of columns that each subject must have all of |
Data table with just the samples identified by "id_cols" that have all the values in filter
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.