Learn R Programming

momr (version 1.1)

downsizeMatrix: 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

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

Value

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

Details

downsizeMatrix