data.zscoreData {CTD}R Documentation

Z-transform available data

Description

The z-transform is meant to work with normalized, imputed metabolomics data

Usage

data.zscoreData(data, ref)

Arguments

data

- Normalized, imputed data. Data matrix includes features as rows, samples as columns.

ref

- Normalized, imputed reference sample data. Data includes features as rows, samples as columns.

Value

zscored.data - Z-transformed data.

Examples

dis_data = matrix(rexp(500), ncol=100)
rownames(dis_data)=sprintf("Feature%d",seq_len(nrow(dis_data)))
colnames(dis_data)=sprintf("Sample%d",seq_len(ncol(dis_data)))
ref_data = matrix(rexp(500), ncol=100)
rownames(ref_data)=sprintf("Feature%d",seq_len(nrow(ref_data)))
colnames(ref_data)=sprintf("Sample%d",seq_len(ncol(ref_data)))
zscored.data=data.zscoreData(dis_data,ref_data)

[Package CTD version 1.2 Index]