downsizeMatrix | R Documentation |
takes a matrix with raw read gene counts and converts it to a downsized matrix with identical number of mapped reads for each sample (column)
downsizeMatrix( data, level = 1.1e+07, HQ_reads = NULL, repetitions = 1, silent = FALSE )
data |
: raw read count matrix with gene_ids as rownames |
level |
: default 11E06, the downsizing levels number of reads to be selected randomly. |
HQ_reads |
: To take into account a vector of high quality reads that are not mapped. |
repetitions |
: default 1, This can be also computed several times, but one is the error minimal downsizing strategy |
silent |
: default is FALSE prints the status of downsizing |
downsizeMatrix
downsized read gene count matrix corresponding to the mean counts obtained with the selected number of independant downsizing procedure
if the downsizing level is higher than the number of reads for a given sample than the result will be NA
Edi Prifti & Emmanuelle Le Chatelier
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.