downsizeGC: downsizeGC

View source: R/downsizing.R

downsizeGCR Documentation

downsizeGC

Description

This function takes a matrix with raw reads counts and computes the number of genes at a given downsizing level a given number of times.

Usage

downsizeGC(data, level = 1.1e+07, repetitions = 30, silent = FALSE)

Arguments

data

: raw read count matrix with gene_ids as rownames

level

: default 11e6, the downsizing level number of reads to be selected randomly.

repetitions

: default 30, the number of times the drawing is performed. Usually 30 or 10 to speed things out

silent

: default is FALSE prints the status of downsizing

Details

downsizeGC

Value

a matrix containing in rows a vector for each repetition and in columns the number of downsized genes for each sample

Note

if the downsizing level is higher than the number of reads for a given sample than the result will be NA

Author(s)

Edi Prifti & Emmanuelle Le Chatelier


eprifti/momr documentation built on Sept. 27, 2022, 3:36 a.m.