Description Usage Arguments Details Value
View source: R/design_filter_counts.R
This function filters a counts object, removing samples that are not found in a corresponding sample annotation object.
1 | design_filter_counts(counts, design, libID_col)
|
counts |
a matrix or data frame of gene expression counts. Must have samples in columns and genes in rows, with colnames as sample identifiers. |
design |
a data frame of sample information. At minimum, must contain a column corresponding to sample identifiers matching column names of |
libID_col |
numeric index or character name of column in |
Samples are removed from counts
if their column name does not match an element in column libID_col
of design
.
a matrix or data frame with the same number of rows as counts
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.