View source: R/CreatePathwayCollection.R
CreatePathwayCollection | R Documentation |
pathwayCollection
-class Object.Manually create a pathwayCollection
list similar to the
output of the read_gmt
function.
CreatePathwayCollection(
sets_ls,
TERMS,
setType = c("pathways", "genes", "regions"),
...
)
sets_ls |
A named list of character vectors. Each vector should contain
the names of the individual genes, proteins, sits, or CpGs within that
set as a vector of character strings. If you create this pathway
collection to integrate with data of class |
TERMS |
A character vector the same length as the |
setType |
What is the type of the set: pathway set of gene, gene sites
in RNA or DNA, or regions of CpGs. Defaults to |
... |
Additional vectors or data components related to the
|
This function checks the set list and set term inputs and then
creates a pathwayCollection
object from them. Pass additional
list elements (such as the description
of each set) using the
form tag = value
through the ...
argument (as in the
list
function). Because some functions in the
pathwayPCA
package add and edit elements of pathwayCollection
objects, please do not create pathwayCollection
list items named
setsize
or n_tested
.
A list object with class pathwayCollection
.
read_gmt
data("colon_pathwayCollection")
CreatePathwayCollection(
sets_ls = colon_pathwayCollection$pathways,
TERMS = colon_pathwayCollection$TERMS
)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.