Selector {MAGeCKFlute} | R Documentation |
Select signatures from candidate list (according to the consistence in most samples).
Selector(mat, cutoff = 0, type = "<", select = 0.8)
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. |
An list containing two elements, first is selected signature and second is a ggplot object.
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)