ptable {metapone} | R Documentation

## Acessor functions for the test result table in a metaponeResult object.

### Description

return the `data.frame` of test statistics for each pathway.

### Usage

    ## S4 method for signature 'metaponeResult'
    ptable(object)

### Arguments

`object` | A metaponeResult object.

### Details

Includes p_value, n_significant metabolites, n_mapped_metabolites, n_metabolites, significant metabolites, mapped_metabolite IDs and pathway name.

### Value

The method returns a data frame with 6 columns: "p_value", "n_significant metabolites", "n_mapped_metabolites", "n_metabolites", "significant metabolites", "mapped_metabolites".

### Author(s)

Tianwei Yu <yutianwei@cuhk.edu.cn>

### See Also

ftable

### Examples

    data(hmdbCompMZ.metapone)
    data(pa)
    data(pos)
    data(neg)
    r<-metapone(pos, neg, pa, hmdbCompMZ=hmdbCompMZ.metapone,
       p.threshold=0.05,n.permu=100,fractional.count.power=0.5, max.match.count=10)
    head(ptable(r))

[Package metapone version 1.0.0 Index]