Description Usage Arguments Value See Also Examples
as.Genesets
creates a GeneSetCollection object from the data present
in a list. Each element will parse to a GeneSet. For each list element, its
name will be the GeneSet setName, and the content are the genes.
1 2 3 4 | as.Genesets(x, ...)
## S4 method for signature 'list'
as.Genesets(x, is_GO = FALSE)
|
x |
list of character vectors which are the genes corresponding to each GeneSet. The list must have names (unique). |
... |
not in use. |
is_GO |
logical indicating if this gene sets are from the Gene Ontology. If true, then each GeneSet setName must be a GO id. |
A GeneSetCollection object.
1 2 3 4 5 6 7 8 | ## Lets create a list with three manually created gene sets and load it as a
## GeneSetCollection object.
myGs1 <- as.character(1:10)
myGs2 <- as.character(15:21)
myGs3 <- as.character(25:30)
myGssList <- list(myGs1, myGs2, myGs3)
names(myGssList) <- c("myGs1", "myGs2", "myGs3")
myGss <- as.Genesets(myGssList)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.