genevaR: Gene and Variants Plot

Description Usage Arguments

View source: R/genevaR.R

Description

Creates a plot that visualizes the selected gene and optionally marks variant positions.

Usage

1
genevaR(gff_file, gene_name, vcf_file = NULL, plot_title = gene_name, facets)

Arguments

gff_file

Data frame including columns "seqid", "start", "end", "type" and "ID".

gene_name

ID of the gene of interest. Should be the same for the GFF and VCF input.

vcf_file

Data frame including columns "POS", "ANN....GENEID", "ANN....EFFECT" and optionally "Genotype". SnpSift-filtered VCF file.

plot_title

Customize plot title. Default is set to input of gene_name.

facets

Split plot into facets. Set to 'variants' or 'genotype' (this requires column "Genotype").


lbmountain/genevaR documentation built on Dec. 21, 2021, 9:44 a.m.