vpres2regulon: Extract the top up and down regulated MR per sample

Description Usage Arguments Value

View source: R/viper-helpers.R

Description

Extract the top up and down regulated MR per sample

Usage

1
2
3
4
5
6
7
8
vpres2regulon(
  vpres,
  nn = 25,
  direction = c("both", "up", "down"),
  make_regulon = FALSE,
  reverse = FALSE,
  verbose = TRUE
)

Arguments

vpres

numeric matrix of NES as returned by the viper function

nn

integer of number of top MR to consider for each regulon

direction

character, which tail should be returned, defaults to both up and down

make_regulon

logical, whether to set class of return object to "regulon"

reverse,

logical, whether to reverse the top MR - useful for drug screening results and downstream applications

verbose

logical, whether to message progress report

Value

list object with top dysregulated MR per sample


fossbert/binilib documentation built on April 23, 2021, 10:31 p.m.