dichotomizeExpr_quantile: dichotomize expression into Low/High group

Description Usage Arguments Details Value

View source: R/formatting_p.R

Description

It's not recommeded to do this. But biologists wants to do it...

Usage

1
2
dichotomizeExpr_quantile(vec, q1 = NA, q2 = NA, Lower = NULL,
  Upper = NULL, labels = c("Low", "High"))

Arguments

vec

expressionv ector

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

Details

values exceeding Upper limit are called High; values smaller than Lower are called low. Values inbetween will be masked as NA. Warning: When Lower and Upper are the same (when i.e. 40

Value

a character vector with middle values as NA


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