annotation_ext: Obtain the file extension for a given organism and annotation

Description Usage Arguments Value See Also Examples

View source: R/annotation_ext.R

Description

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

Usage

1
2
3
4
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

1
2
3
4
annotation_ext("human")
annotation_ext("human", "fantom6_cat")
annotation_ext("human", "refseq")
annotation_ext("mouse")

recount3 documentation built on Feb. 13, 2021, 2 a.m.