R: Extract results of a single pathway from a 'dnapath_list'...

[[.dnapath_list {dnapath} | R Documentation

## Extract results of a single pathway from a 'dnapath_list' object.

### Description

Extract results of a single pathway from a 'dnapath_list' object.

### Usage

    ## S3 method for class 'dnapath_list'
    x[[i, ...]]

### Arguments

`x` | A 'dnapath_list' object from `dnapath`.
`i` | The index specifying which pathway to extract.
`...` | Additional arguments are ignored.

### Value

A 'dnapath' object containing a single pathway result.

### Examples

    data(meso)
    data(p53_pathways)
    set.seed(0)
    results <- dnapath(x = meso$gene_expression, pathway_list = p53_pathways,
                       group_labels = meso$groups, n_perm = 10)
    results[[1]]

[Package dnapath version 0.7.4 Index]