Description Usage Arguments Value Examples
View source: R/splitByGeneSet.R
Extracts Gene Subsets from a SummarizedExperiment object
1 | splitByGeneSet(se, genesets)
|
se |
A SummarizedExperiment object. |
genesets |
A list of gene sets. |
A list of SummarizedExperiment objects.
1 2 3 4 5 6 7 8 9 10 11 | # Prepare example data ----
sample_names <- c("A", "B")
se_list <- generateDeeptoolsExperiments(20, 10, sample_names)
se_list
# Usage ----
range_sets <- list(set1=c("GR_1"), set2=c("GR_2", "GR_3"))
splitByGeneSet(se_list[[1]], range_sets)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.