Learn R Programming

qgg (version 1.1.6)

getPos: Retrieve the positions for specified rsids on a given chromosome.

Description

Fetch the genomic positions associated with provided rsids for a given chromosome from the list `Glist`.

Usage

getPos(Glist = NULL, chr = NULL, rsids = NULL)

Value

A vector containing the positions corresponding to the specified rsids on the given chromosome.

Arguments

Glist

A list structure with information about genotypes stored on disk.

chr

A chromosome from which the positions are retrieved.

rsids

A vector of rsids for which the positions are needed.