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

View source: R/annotation_ext.R

annotation_extR Documentation

Obtain the file extension for a given organism and annotation

Description

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

Usage

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")
annotation_ext("human", "fantom6_cat")
annotation_ext("human", "refseq")
annotation_ext("mouse")

LieberInstitute/recount3 documentation built on May 4, 2024, 4:16 a.m.