getMetaWeight: calculating the weights of metabolites.

Description Usage Arguments Value

Description

This function calculates the weights of metabolites in metaProf using Wilcoxon rank-sum test.

Usage

1
getMetaWeight(metaProf, normMetaSmpl, diseaseMetaSmpl)

Arguments

metaProf

a m x n matrix of metabolite expression measurements with m metabolites and n samples.

normMetaSmpl

a integer vector comprising the indexes of normal (class 1) samples in metaProf.

diseaseMetaSmpl

a integer vector comprising the indexes of disease (class 2) samples in metaProf.

Value

The weighs of metabolites in metaProf.


cuihaibo1/123 documentation built on May 14, 2019, 12:50 p.m.