downsizeMatrix

Description

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)

Usage

1
downsizeMatrix(data, level = 1.1e+07, repetitions = 1, silent = FALSE)

Arguments

data

: raw read count matrix with gene_ids as rownames

level

: default 11E06, the downsizing levels number of reads to be selected randomly.

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

Details

downsizeMatrix

Value

downsized read gene count matrix corresponding to the mean counts obtained with the selected number of independant downsizing procedure

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

Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.