File: isSymbolic.Rd

package info (click to toggle)
r-bioc-structuralvariantannotation 1.13.0%2Bds-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 1,568 kB
  • sloc: makefile: 2
file content (46 lines) | stat: -rw-r--r-- 1,309 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/extensions-VCF.R
\name{isSymbolic}
\alias{isSymbolic}
\alias{isSymbolic,CollapsedVCF-method}
\alias{isSymbolic,ExpandedVCF-method}
\title{Determining whether the variant is a symbolic allele.}
\usage{
isSymbolic(x, ...)

\S4method{isSymbolic}{CollapsedVCF}(x, ..., singleAltOnly = TRUE)

\S4method{isSymbolic}{ExpandedVCF}(x, ...)
}
\arguments{
\item{x}{A VCF object.}

\item{...}{Internal parameters.}

\item{singleAltOnly}{Whether only single ALT values are accepted. Default is
set to TRUE.}
}
\value{
A logical list of which the length is the same with the input object.
}
\description{
Determining whether the variant is a symbolic allele.
}
\details{
The function takes a VCF object as input, and returns a logical
value for each row, determining whether the variant is a symbolic allele.
}
\section{Methods (by class)}{
\itemize{
\item \code{CollapsedVCF}: Determining whether a CollapsedVCF object is a symbolic 
allele. Only single ALT values are accepted.

\item \code{ExpandedVCF}: Determining whether a ExpandedVCF object is a symbolic 
allele
}}

\examples{
vcf.file <- system.file("extdata", "gridss.vcf", package = "StructuralVariantAnnotation")
vcf <- VariantAnnotation::readVcf(vcf.file, "hg19")
isSymbolic(vcf)
}