fetch: Fetch

View source: R/fetch.R

fetchR Documentation

Fetch

Description

Fetch homozygous genotypes for a specified chromosomal region in 37 inbred mouse strains.

Usage

fetch(
  chr,
  start = NULL,
  end = NULL,
  consequence = NULL,
  impact = NULL,
  return_obj = "dataframe"
)

Arguments

chr

Vector of chromosome names.

start

Optional vector of chromosomal start positions of target regions (GRCm38).

end

Optional vector of chromosomal end positions of target regions (GRCm38).

consequence

Optional vector of consequence types.

impact

Optional vector of impact types.

return_obj

The user can choose to get the result to be returned as data frame ("dataframe") or as a GenomicRanges::GRanges ("granges") object. Default value is "dataframe".

Value

Data frame or GenomicRanges::GRanges object containing result data.

Examples

geno = fetch("chr7", start = 5000000, end = 6000000)

comment(geno)

matmu/MouseFM documentation built on Sept. 3, 2022, 5:46 a.m.