CalculateDF: Calculate the difference of metabolic subpathway activity

Description Usage Arguments Details Examples

View source: R/CalculateDF.R

Description

For the metabolic subpathway activity matrix, this method can calculate the difference and significance of the metabolic subpathway activity between disease and normal.

Usage

1
CalculateDF(spwmatrix, smaple_class, casename = "", controlname = "")

Arguments

spwmatrix

Metabolic subpathway activity matrix (the result of function 'SubpathwayMatrix'),

smaple_class

Sample phenotype vector in metabolic subpathway activity matrix.

casename

Disease sample phenotype label.

controlname

Control sample phenotype label.

Details

CalculateDF

Examples

1
2
3
4
library(limma)
# Get the metabolic subpathway matrix.
Spwmatrix<-get("Spwmatrix")
spwDF<-CalculateDF(Spwmatrix,colnames(Spwmatrix),"cancer","control")

hanjunwei-lab/crmSubpathway documentation built on Jan. 26, 2021, 8:50 a.m.