get.top.features: get.top.features

Description Usage Arguments Value Author(s) Examples

Description

Prioritise top features satisfying the criteria specified by various parameters described below

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
get.top.features(
  DE.features = NULL, 
  cna.data.fractions = NULL, 
  mRNA.FC.up = 0, 
  mRNA.FC.down = 0, 
  mRNA.p = 0.05, 
  mRNA.top.n = NULL, 
  cna.fractions.gain = 0.2, 
  cna.fractions.loss = 0.2
  )

Arguments

DE.features

Matrix containing differentially expressed features with two columns: FC and P. P may contain adjusted P or raw

cna.data.fractions

Feature by cancer type matrix with CNA fractions

mRNA.FC.up

Log2 fold change threshold for selecting over-expressed features

mRNA.FC.down

Log2 fold change threshold for selecting under-expressed features

mRNA.p

P value threshold for selecting significantly differentially expressed features. Mutually exclusive to mRNA.top.n

mRNA.top.n

Top n differentially expressed features satisfying each of the fold change criteria. Mutually exclusive to mRNA.p

cna.fractions.gain

Threshold for selecting copy number gain/amplifications

cna.fractions.loss

Threshold for selecting copy number losses

Value

Vector of top features

Author(s)

Syed Haider

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
# load test data
x <- get.test.data(data.types = c("mRNA.T", "mRNA.N", "CNA"));

# list of features to be assessed for differential expression
feature.ids <- rownames(x$mRNA.T$BLCA);

# get differentially expressed features
DE.results <- find.DE.features(
  exp.data.T = x$mRNA.T, 
  exp.data.N = x$mRNA.N, 
  feature.ids = feature.ids,
  test.name = "t.test"
  );

# get top features
top.features <- get.top.features(
  DE.features = cbind("FC" = DE.results[, 1], "P" = DE.results[, 2]),
  cna.data.fractions = x$CNA.fractions$BLCA, 
  mRNA.FC.up = 0.25, 
  mRNA.FC.down = 0.25, 
  mRNA.p = 0.05, 
  mRNA.top.n = NULL, 
  cna.fractions.gain = 0.2, 
  cna.fractions.loss = 0.2
  );

iDOS documentation built on May 2, 2019, 2:28 p.m.