sort.dnapath_list: Sort function for 'dnapath_list' object.

Description Usage Arguments Value

View source: R/dna.R

Description

Sort function for 'dnapath_list' object.

Usage

1
2
3
## S3 method for class 'dnapath_list'
sort(x, decreasing = TRUE, by = "mean_expr",
  ...)

Arguments

x

A 'dnapath_list' object.

decreasing

Logical. If TRUE (the default), results are sorted in decreasing order.

by

The variable to sort the results by. Must be one of: "mean_expr", the mean expression of each pathway across both groups; "mean_expr1" or "mean_expr2", the mean expression of each pathway in group 1 or 2, respectively; "dc_score", the differential connectivity score of the pathway; "p_value", the p-value of the dc score; "n_genes", the number of genes in each pathway; "n_dc" the number of significantly differentially conncted genes in each pathway.

...

Additional arguments are ignored.

Value

The differential network analysis results ordered by DC pathway score.


tgrimes/dnapath2 documentation built on May 21, 2020, 5:53 p.m.