multipleVis {RareVariantVis} | R Documentation

## Interactive visualization of rare variants on the chromosome, applicable for multiple files

### Description

Reads files containing table of rare variants from one chromosome and provides adequate multiple sample visualization. Input files can be obtained from function chromosomeVis. Function outputs visualization html figure. Figure depicts samples in subfigures. Subfigures illustrate variants (dots) in their genomic coordinates (x axis). Ratio of alternative reads and depth (y axis) gives information about type of variant: homozygous alternative (expected ratio 1) and heterozygous (expected ratio 0.5). Zoom to the figures is possible, by marking the region of interest with mouse left click. Right click induces zoom out and return to the original plot. Pointing on variants provides basic information about the variant - gene name and position on chromosome.

### Usage

    multipleVis(inputFiles, outputFile, sampleNames, chromosome)

### Arguments

`inputFiles` | Vector of strings containing input file names.
`outputFile` | Output file name (string).
`sampleNames` | Vector of sample names (strings).
`chromosome` | Name of the chromosome to be analyzed (string).

### Value

`comp1` | function returns html visualization file for specified samples

### Author(s)

Adam Gudys and Tomasz Stokowy

### Examples

    file1 = system.file("extdata", "RareVariants_CoriellIndex_S1.txt",
                        package = "RareVariantVis")
    file2 = system.file("extdata", "RareVariants_Coriell_S2.txt",
                        package = "RareVariantVis")
    inputFiles = c(file1, file2)
    sampleNames = c("CoriellIndex_S1", "Coriell_S2");
    multipleVis(inputFiles, "CorielSamples.html", sampleNames, "19")

[Package RareVariantVis version 2.14.0 Index]