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

View source: R/genomic_matrix.R

getPosR Documentation

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)

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.

Value

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


psoerensen/qgg documentation built on March 9, 2024, 10:02 p.m.