normalise_counts | R Documentation |
'normalise_counts()' takes RNAseq count data and produces normalised counts that are adjusted for library size (sequencing depth). The normalised count columns are added to the supplied data frame with column names that are the original column names with " normalised count" appended.
normalise_counts(rnaseq_data, samples)
rnaseq_data |
data frame of rnaseq data. Must contain columns labelled "sample count". |
samples |
data frame of sample metadata. Must included a 'condition' column. |
tibble containing the original data and the normalised count columns added
rnaseq_data <- test_all_data[ , !grepl("normalised", colnames(test_all_data)) ]
rnaseq_data <- normalise_counts(rnaseq_data, samples_data)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.