Selector {MAGeCKFlute}R Documentation

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

Description

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

Usage

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

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)


[Package MAGeCKFlute version 1.10.0 Index]