organism(object)
organism(object) <- value
species(object)
species(object) <- value
object
.
organism
should return the scientific name (i.e. genus and
species, or genus and species and subspecies) of the organism. Preferably
in the format "Genus species"
(e.g. "Homo sapiens"
)
or "Genus species subspecies"
(e.g.
"Homo sapiens neanderthalensis"
).species
should of course return the species of the organism.
Unfortunately there is a long history of misuse of this accessor in
Bioconductor so its usage is now discouraged (starting with BioC 3.1).
showMethods
for displaying a summary of the
methods defined for a given generic function.
selectMethod
for getting the definition of
a specific method.
organism
methods (defined for character and chromLocation
objects).
species
method (defined for AnnotationDb
objects).
## organism getter:
organism
showMethods("organism")
library(annotate)
showMethods("organism")
selectMethod("organism", "character")
selectMethod("organism", "chromLocation")
## organism setter:
`organism<-`
showMethods("organism<-")
## species getter:
species
showMethods("species")
library(AnnotationDbi)
selectMethod("species", "AnnotationDb")
## species setter:
`species<-`
showMethods("species<-")
Run the code above in your browser using DataLab