Selector: Select signatures from candidate list (according to the...

Description Usage Arguments Value Examples

View source: R/Selector.R

Description

Select signatures from candidate list (according to the consistence in most samples).

Usage

1
Selector(mat, cutoff = 0, type = "<", select = 0.8)

Arguments

mat

Data matrix, each row is candidates (genes), each column is samples.

cutoff

Cutoff to define the signatures.

type

Direction to select signatures.

select

Proportion of samples in which signature is selected.

Value

An list containing two elements, first is selected signature and second is a ggplot object.

Examples

1
2
3
4
5
mat = matrix(rnorm(1000*30), 1000, 30)
rownames(mat) = paste0("Gene", 1:1000)
colnames(mat) = paste0("Sample", 1:30)
hits = Selector(mat, select = 0.68)
print(hits$p)

MAGeCKFlute documentation built on Nov. 8, 2020, 5:40 p.m.