Description Usage Arguments Value Author(s) See Also Examples
View source: R/GenomicAnnotationsFromLibrary.R
Function extracting a GenomicAnnotations object from a Bioconductor annotation library
1 2 | GenomicAnnotationsFromLibrary(annotLibrary, probeIDs = NULL,
retain.chrs = NULL, optionalAnnotations = NULL)
|
annotLibrary |
Character string containing the name of the annotations library to be used for building the GenomicAnnotations object |
probeIDs |
Optional: list of reference id from the selected annotLibrary to be used for building the GenomicAnnotations object |
retain.chrs |
Numeric vector, containing the list of chromosomes selected for the output GenomicAnnotations object. E.g. set retain.chrs=1:22 to limit the GenomicAnnotations object to chromosomes from 1 to 22. This might be ueseful to limit GenomiAnnotations objects to autosomic chromosomes. |
optionalAnnotations |
Character vector to select additional annotations fields to be included into the GenomicAnnotations object. |
An object of class "GenomicAnnotations"
Francesco Ferrari
1 2 3 4 5 6 7 8 9 10 11 12 13 | ## Not run:
GEGenomicAnnotations<-GenomicAnnotationsFromLibrary(annotLibrary=
"org.Hs.eg.db", retain.chrs=1:22)
# with optional annotations Genesymbols and EntrezGeneIDs
GEGenomicAnnotations<-GenomicAnnotationsFromLibrary(annotLibrary=
"hgu133plus2.db", retain.chrs=1:22,
optionalAnnotations=c("SYMBOL", "ENTREZID"))
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.