snifflesKaryogram: prepare karyogram of annotated SVs

Description Usage Arguments Value Examples

View source: R/SnifflesSV.R

Description

This method will prepare a karyogram of annotated SVs against the genome reference

Usage

1
snifflesKaryogram(vcfFile, demoChr = NULL)

Arguments

vcfFile

is the path to the vcfFile to plot

demoChr

defines a dummy chromosome for plotting

Value

a ggbio/ggplot2 graph

Examples

1
2
3
4
vcfFile <- system.file("extdata", "GM24385.nf7.chr20.vcf",
    package = "nanopoRe")
# a reference genome should really be defined with setReferenceGenome
snifflesKaryogram(vcfFile, demoChr=20)

sagrudd/nanopoRe documentation built on June 7, 2020, 10:20 p.m.