Description Usage Arguments Value
This is useful for subsetting a counts matrix based on the sample IDs present in the sample data dataframe. It then prunes the matrix to remove any rows whose sums are 0.
1 | subset_matrix(s, mat, colname = "SampleID")
|
s |
a sample data dataframe |
mat |
a counts matrix |
colname |
the name of the column to use for subsetting |
the subsetted matrix
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.