Log_Norm: Log transformation of count data

Description Usage Arguments Details Value Author(s) Examples

Description

The method normalizes count data by log2 transforming all of the counts

Usage

1
Log_Norm(e_data, edata_id)

Arguments

e_data

a p \times n data.frame of count data, where p is the number of features and n is the number of samples. Each row corresponds to data for a feature, with the first column giving the feature name.

edata_id

character string indicating the name of the feature identifier. Usually obtained by calling attr(omicsData, "cnames")$edata_cname.

Details

Count data is normalized by a log2 transformation

Value

List containing 3 elements: norm_data is a data.frame with same structure as e_data that contains the Log2-normalized data, location_param is NULL, scale_param is a numeric vector of 1's, for later use.

Author(s)

Allison Thompson

Examples

1
2
3
library(mintJansson)
data(cDNA_hiseq_data)
cDNA_log <- Log_Norm(e_data = cDNA_hiseq_data$e_data, edata_id = attr(cDNA_hiseq_data, "cnames")$edata_cname)

pmartR/pmartRseq documentation built on May 25, 2019, 9:20 a.m.