| 1 |
% Generated by roxygen2: do not edit by hand |
| 2 |
% Please edit documentation in R/RcppExports.R |
| 3 |
\name{HasSparseHardcalls} |
| 4 |
\alias{HasSparseHardcalls} |
| 5 |
\title{Returns whether hardcalls for the variant_numth variant and given allele |
| 6 |
are represented in a sparse manner that is supported by |
| 7 |
ReadSparseHardcalls().} |
| 8 |
\usage{ |
| 9 |
HasSparseHardcalls(pgen, variant_num, allele_num = 2L) |
| 10 |
} |
| 11 |
\arguments{ |
| 12 |
\item{pgen}{Object returned by NewPgen().} |
| 13 |
|
| 14 |
\item{variant_num}{Variant index (1-based).} |
| 15 |
|
| 16 |
\item{allele_num}{Allele index; 1 corresponds to REF, 2 to the first ALT |
| 17 |
allele, 3 to the second ALT allele if it exists, etc. Optional, defaults |
| 18 |
to 2.} |
| 19 |
} |
| 20 |
\value{ |
| 21 |
True iff the (variant, allele) pair has a sparse representation |
| 22 |
that can be returned by ReadSparseHardcalls(). |
| 23 |
} |
| 24 |
\description{ |
| 25 |
Returns whether hardcalls for the variant_numth variant and given allele |
| 26 |
are represented in a sparse manner that is supported by |
| 27 |
ReadSparseHardcalls(). |
| 28 |
} |