sesameAnno_get: download Infinium manifest from the associated Github...

View source: R/sesameAnno.R

sesameAnno_getR Documentation

download Infinium manifest from the associated Github repository

Description

Since most of the annotation is not essential to sesame functioning, sesameData package no longer host the full manifest. This is the command to use to retrieve the full manifest and other annotation from the following Github host:

Usage

sesameAnno_get(title, return_path = FALSE, version = 1)

Arguments

title

the title of the resource

return_path

return cached file path

version

release version, default is the latest

Details

https://github.com/zhou-lab/InfiniumAnnotationV1

Please check the repo itself for what is available. See also http://zwdzwd.github.io/InfiniumAnnotation

Unless return_path = TRUE, This function calls import function depending on the resource name suffix. If the url ends with .rds, it will use readRDS. If the url ends with .tsv.gz it will use read_tsv. For all other cases, the function will return the cached file name.

This function replaces sesameAnno_getManifestDF.

Value

tibble

Examples


## avoid testing since it depends on external host
if (FALSE) {
mapping <- sesameAnno_get("Mammal40/hg38.tsv.gz")
annoI <- sesameAnno_get("Anno/EPIC/EPIC.hg19.typeI_overlap_b151.rds")
mft <- sesameAnno_get("Anno/MM285/MM285.mm10.manifest.tsv.gz")
}

zwdzwd/sesame documentation built on April 28, 2024, 12:48 p.m.