DeconGeneSetCollection | R Documentation |
Classes used for collections of cell- or tissue-specific gene sets for use in deconvolution, along with specialized accessor functions. The primary use for this class is the use of a specialized incidence function, and some slightly improved mapping capabilities.
DeconGeneSetCollection(object, idType = EntrezIdentifier(), setType = DeconCollection()) description(object, ...) description(object) <- value collectionType(object) <- value
object |
A |
idType |
An argument of class ‘GeneIdentifierType’, used to indicate how the ‘geneIds’ will be represented. |
setType |
An argument of class ‘CollectionType’, used to indicate what kind of collection is created. Defaults to |
value |
For |
... |
Further arguments to be passed on to other methods. |
For DeconGeneSetCollection
, an object of class DeconGeneSetCollection
with geneIds from the appropriate geneIdType. The gene sets in the collection represent genes that are relatively specific to that particular tissue or cell type.
For description
, a character vector with the description from each of the GeneSet
s in the collection.
DeconCollection-class
, GeneSetCollection-class
## Get a set of tissue specific marker genes. dgsc <- DeconGeneSetCollection() ### Get the descriptions from the collection description(dgsc) ### Make a normal GeneSetCollection gs1 <- GeneSet(setName = "Set1", shortDescription = "Example 1") gs2 <- GeneSet(setName = "Set2", shortDescription = "Example 2") gsc2 <- GeneSetCollection(list(gs1, gs2)) ### Coerce it to a DeconGeneSetCollection dgsc2 <- DeconGeneSetCollection(gsc2) dgsc2 ### Map them to a popular microarray platform library(hgu133plus2.db) u133GSC <- mapIdentifiers(dgsc, AnnotationIdentifier(), hgu133plus2ENTREZID)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.