getReferenceData: Get reference data for a specified assembly

View source: R/loadData.R

getReferenceDataR Documentation

Get reference data for a specified assembly

Description

This is a generic getter function that will return a data object requested, if it is included in the built-in data with the GenomicDistributions package or GenomicDistributionsData package (if installed). Data objects can be requested for different reference assemblies and data types (specified by a tagline, which is a unique string identifying the data type).

Usage

getReferenceData(refAssembly, tagline)

Arguments

refAssembly

Reference assembly string (e.g. 'hg38')

tagline

The string that was used to identify data of a given type in the data building step. It's used for the filename so we know what to load, and is what makes this function generic (so it can load different data types).

Value

A requested and included package data object.


databio/GenomicDistributions documentation built on April 30, 2024, 4:34 a.m.