dichotomizeExpr: dichotomize expression into binary based on BI or quantile

Description Usage Arguments Value

View source: R/formatting_p.R

Description

This is a wrapper for dichotomizeExpr_quantile() and dichotomizeExpr_BI()

Usage

1
2
3
dichotomizeExpr(vec, method = "quantile", q1 = NA, q2 = NA,
  Lower = NULL, Upper = NULL, labels = c("Low", "High"), plot = TRUE,
  forceFactor = FALSE)

Arguments

vec

expressionv ector

method

either quantile or BI

q1

quantile 1 (smaller)

q2

quantile 2 (Laerger) when this specified, it overrides Lower/Upper specification

labels

what you want to call the two groups

Value

a character vector


nickytong/GenAnalysis documentation built on July 20, 2019, 8:57 a.m.