get_median_centered {OncoSubtype}R Documentation

convert expression matrix to median-centered

Description

convert expression matrix to median-centered

Usage

get_median_centered(data, log2 = TRUE)

Arguments

data

a numeric matrix or 'S4' object

log2

logical, if 'TRUE' log2(x+1) will be applied before median centering. Defaut 'TRUE'.

Value

median-centered express matrix or an object with new slot "centered"

Examples

## Not run: 
get_median_centered(example_fpkm)

## End(Not run)


[Package OncoSubtype version 1.0.0 Index]