sub-sub-.dnapath: Extract results of a single pathway from a 'dnapath' object.

[[.dnapathR Documentation

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

Description

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

Usage

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

Arguments

x

A 'dnapath' object.

i

The index specifying which pathway to extract.

...

Additional arguments are ignored.

Value

The 'dnapath' object unmodified

Note

In the current implementation, there is nothing to subset on for individual pathway results, so the original object is returned unmodified.

Examples

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

dnapath documentation built on May 9, 2022, 9:05 a.m.