fetch: Fetch

Description Usage Arguments Value Examples

View source: R/fetch.R

Description

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

Usage

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

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

comment(geno)

MouseFM documentation built on Nov. 8, 2020, 7:26 p.m.