Description Usage Arguments Value Examples
View source: R/featureCounts_downstream.R
Transform a featurecount output to a data frame of library-normalized mean counts
1 2 | fcount_meantransform(fcountOutput, samplenames, filterByCount = NULL,
boxplot = TRUE)
|
fcountOutput |
Featurecount output in a data frame |
samplenames |
The name of samples (exclusing replicate ID etc). Replicates of the samples will be grouped together for calculating mean.. |
filterByCount |
A value, if given it will first filter genes by raw mean expression <= given threshold. |
boxplot |
Logical. Draw a boxplot or normalized counts? |
A data frame of library-normalized mean counts
1 2 3 4 | fc <- system.file("extdata", "fcount_mouse.tsv", package="vivlib")
fout <- read.delim(fc)
samples <- c(paste0("cont_", 1:3), paste0("KD_",1:3))
out <- fcount_meantransform(fcountOutput = fout, samplenames = samples, filterByCount = 1000, boxplot = TRUE)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.