NewPvar: Loads variant positions, IDs, and allele codes from a .pvar...

View source: R/RcppExports.R

NewPvarR Documentation

Loads variant positions, IDs, and allele codes from a .pvar or .bim file (which can be compressed with gzip or Zstd).

Description

Loads variant positions, IDs, and allele codes from a .pvar or .bim file (which can be compressed with gzip or Zstd).

Usage

NewPvar(filename, omit_chrom = FALSE, omit_pos = FALSE)

Arguments

filename

.pvar/.bim file path.

omit_chrom

Whether to skip CHROM column.

omit_pos

Whether to skip POS column.

Value

A pvar object, which can be queried for variant IDs and allele codes.


pgenlibr documentation built on April 3, 2025, 6:21 p.m.