View source: R/functions_expr_data.R
prepare_count_data | R Documentation |
Remove genes with only zero counts across samples and perform voom
transformation (as implemented in voom
)
prepare_count_data(counts)
counts |
[data.frame or matrix] raw counts with genes in rows and samples in columns |
[list] assays (counts, voom and voom.weights) to be used in
make_se_object
# define temporary directory for storing file from recount temp.dir = tempdir() # get counts from recount library(recount) download_study( project = "SRP057087", type = "counts-gene", outdir = temp.dir) counts = read.table( file.path(temp.dir, "counts_gene.tsv.gz"), header = TRUE, row.names = 29) assays = prepare_count_data(counts)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.