metpa_enrich {GCModeller} |
R Documentation |
The GCModeller GSEA toolkit
Description
Do enrichment based on metpa background model
Usage
metpa_enrich(data, metpa,
log2FC = 'log2(FC)',
id = 'kegg');
Arguments
data
a given set of the target for do enrichment analysis,
this parameter value could be a character vector which is stands
for the kegg id character vector or a dataframe object that
contains the data annotation fields and the log2fc value.
metpa
the metabolic network pathway model for used as the
enrichment background data to run enrichment analysis. this
parameter value should be a CLR object that read from file.
log2FC
the field name for get the log2FC value, the log2FC
value will be used for do colorful url encoded. And this parameter
option only works when the input data is a dataframe object.
id
the field name for get the target idset data for run the
enrichment analysis. And this parameter option only works when
the input data is a dataframe object.
Details
Authors
xieguigang
Value
A dataframe object that contains the enrichment analysis result,
value nothing will be return if the given kegg idset is empty.
Examples
[Package
GCModeller version 1.1.0-beta
Index]