length.dnapath_list: The number of pathways in a 'dnapath_list' object.

View source: R/dna.R

length.dnapath_listR Documentation

The number of pathways in a 'dnapath_list' object.

Description

The number of pathways in a 'dnapath_list' object.

Usage

## S3 method for class 'dnapath_list'
length(x)

Arguments

x

A 'dnapath_list' object from dnapath.

Value

The number of pathways.

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)
length(results)

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