summary.dnapath: Summary function for 'dnapath' object.

Description Usage Arguments Value See Also Examples

View source: R/dna.R

Description

Summary function for 'dnapath' object.

Usage

1
2
## S3 method for class 'dnapath'
summary(object, by_gene = TRUE, alpha = NULL, monotonized = FALSE, ...)

Arguments

object

A 'dnapath' object from dnapath.

by_gene

If TRUE, summarizes the differential network analysis by genes; otherwise, summarizes by gene-gene interactions.

alpha

Threshold for p-values to determine significance; defaults to 1 and returns all results. If 'by_gene' is FALSE, then 'alpha' is used to filter edges. If 'by_gene' is TRUE, then 'alpha' is used to filter genes.

monotonized

If TRUE, monotonized p-values are used.

...

Additional arguments are ignored.

Value

Summarizes the differential network analysis result.

See Also

summarize_genes, summarize_edges

Examples

1
2
3
4
5
6
data(meso)
data(p53_pathways)
set.seed(0)
results <- dnapath(x = meso$gene_expression, pathway_list = p53_pathways,
                   groups = meso$groups, n_perm = 10)
summary(results[[1]]) # Summary of the first pathway in the results.

dnapath documentation built on Dec. 11, 2021, 9:54 a.m.