View source: R/load_signatures.R
intersect_signature | R Documentation |
Produces a signature with the same subtypes, but smaller sets of genes, corresponding to what is available in the data.
intersect_signature(genes, sig, verbose = TRUE)
genes |
- the genes available in the data, usually rownames(data) |
verbose |
- logical: print how many genes are in the intersection or not, default is TRUE |
sigs |
- a list of the genes in every subtype (according to this signature); or a character vector of genes, if that signature is not split into subtypes |
intsig - the "intersection" signature, comprising of only signature genes available in "genes"
intersect_signature(c('ARID1B', 'PTEN'),c('KRAS', 'TGFB1', 'ARID1B'), verbose=TRUE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.