get_cols | R Documentation |
get_cols
is a helper function to get either counts,
normalised counts or tpm from an RNA-seq data frame
get_cols(data, samples = NULL, cols = ".counts?$")
data |
df rna-seq data to get columns from |
samples |
df a samples df to subset the data to |
cols |
Str to use as a search term |
data.frame If there no matching columns in the supplied data frame then NULL is returned
counts <- get_cols(data, samples, ".counts?$")
norm_counts <- get_cols(data, samples, ".normalised.counts?$")
tpm <- get_cols(data, samples, ".tpms?$")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.