File: isStructural.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 (52 lines) | stat: -rw-r--r-- 1,485 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
47
48
49
50
51
52
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/extensions-VCF.R
\name{isStructural}
\alias{isStructural}
\alias{isStructural,CollapsedVCF-method}
\alias{isStructural,ExpandedVCF-method}
\alias{isStructural,VCF-method}
\title{Determining whether the variant is a structural variant}
\usage{
isStructural(x, ...)

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

\S4method{isStructural}{ExpandedVCF}(x, ...)

\S4method{isStructural}{VCF}(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 structural variant
}
\details{
The function takes a VCF object as input, and returns a logical
value for each row, determining whether the variant is a structural variant.
}
\section{Methods (by class)}{
\itemize{
\item \code{CollapsedVCF}: Determining whether a CollapsedVCF object is a 
strucrual variant. Only single ALT values are accepted.

\item \code{ExpandedVCF}: Determining whether a ExpandedVCF object is a 
structural variant.

\item \code{VCF}: Determining whether a VCF object is a structural
variant.
}}

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