hrdetect_read_sv_vcf: Read VCF with SVs for use with HRDetect

Description Usage Arguments Value Examples

View source: R/hrdetect.R

Description

Reads a VCF with SVs for use with HRDetect.

Usage

1
hrdetect_read_sv_vcf(x, nm = NULL, genome = "hg38")

Arguments

x

Path to VCF.

nm

Sample name.

genome

Human genome version (default: hg38. hg19 means GRCh37).

Value

Tibble with following BEDPE-like columns:

Examples

1
2
3
x <- system.file("extdata/umccrise/sv/manta.vcf.gz", package = "gpgr")
sv_bedpe <- hrdetect_read_sv_vcf(x, nm = "SAMPLE")
head(sv_bedpe)

umccr/gpgr documentation built on Nov. 25, 2021, 1:15 p.m.