View source: R/PathwayMatrices.R
pathway_matrices | R Documentation |
This function takes a matrix and pathway csv/gmt files and input and creates expression matrices for each pathway. The resulting output is a nested list of expression matrices for each pathway by each sample.
pathway_matrices(samples, pathways, sample_names = NULL)
samples |
Expression matrix for each population, with each population
as a separate list. These matrices can be generated with e.g. |
pathways |
Either a gene set gmt file, csv file, or output from |
sample_names |
Names of the samples to be used in the output |
## Not run:
pathway_expression <- pathway_matrices(
list(sample1, sample2),
pathways = "your/path_to_gmt",
sample_names = c("population1", "population2"))
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.