Selector | R Documentation |
Select signatures from candidate list (according to the consistence in most samples).
Selector(mat, cutoff = 0, type = "<", select = 0.8)
mat |
A matrix, each row is candidates (genes), each column is samples. |
cutoff |
Numeric, specifying the cutoff to define the signatures. |
type |
Character, ">" or "<". |
select |
Numeric, specifying the proportion of samples in which signature is selected. |
An list containing two elements, the first is the selected signature and the 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)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.