Given an organism and an annotation, this function returns the corresponding file extension used in the recount3 files.

annotation_ext(
  organism = c("human", "mouse"),
  annotation = annotation_options(organism)
)

Arguments

organism

A character(1) specifying which organism you want to download data from. Supported options are "human" or "mouse".

annotation

A character(1) specifying which annotation you want to use.

Value

A character(1) with the annotation file extension to be used.

See also

Other internal functions for accessing the recount3 data: create_rse_manual(), file_retrieve(), locate_url_ann(), locate_url(), project_homes(), read_counts(), read_metadata()

Examples


annotation_ext("human")
#> [1] "G026"
annotation_ext("human", "fantom6_cat")
#> [1] "F006"
annotation_ext("human", "refseq")
#> [1] "R109"
annotation_ext("mouse")
#> [1] "M023"