Obtain the latest release version from various genome annotation sources.
Usage
currentEnsemblVersion()
currentGencodeVersion(organism = c("Homo sapiens", "Mus musculus"))
currentRefseqVersion()
currentFlybaseVersion(dmel = FALSE)
currentWormbaseVersion()
Arguments
- organism
character(1)
. Full Latin organism name (e.g."Homo sapiens"
).- dmel
logical(1)
. Return Drosophila melanogaster genome release version.
Examples
## Ensembl.
try({
currentEnsemblVersion()
})
#> [1] 110
## GENCODE.
try({
currentGencodeVersion(organism = "Homo sapiens")
})
#> [1] 44
## RefSeq.
try({
currentRefseqVersion()
})
#> [1] 221
## WormBase.
try({
currentWormbaseVersion()
})
#> Error in stop(simpleError(message = msg, call = if (p <- sys.parent(1L)) { :
#> Assert failure.
#> [1] isCharacter(x) is not TRUE.
#> Cause: `character` has length 0.