| 1 |
% Generated by roxygen2: do not edit by hand |
| 2 |
% Please edit documentation in R/RcppExports.R |
| 3 |
\name{NewPvar} |
| 4 |
\alias{NewPvar} |
| 5 |
\title{Loads variant positions, IDs, and allele codes from a .pvar or .bim file |
| 6 |
(which can be compressed with gzip or Zstd).} |
| 7 |
\usage{ |
| 8 |
NewPvar(filename, omit_chrom = FALSE, omit_pos = FALSE) |
| 9 |
} |
| 10 |
\arguments{ |
| 11 |
\item{filename}{.pvar/.bim file path.} |
| 12 |
|
| 13 |
\item{omit_chrom}{Whether to skip CHROM column.} |
| 14 |
|
| 15 |
\item{omit_pos}{Whether to skip POS column.} |
| 16 |
} |
| 17 |
\value{ |
| 18 |
A pvar object, which can be queried for variant IDs and allele |
| 19 |
codes. |
| 20 |
} |
| 21 |
\description{ |
| 22 |
Loads variant positions, IDs, and allele codes from a .pvar or .bim file |
| 23 |
(which can be compressed with gzip or Zstd). |
| 24 |
} |