multipleVis: Interactive visualization of rare variants on the chromosome,...

Description Usage Arguments Value Author(s) Examples

View source: R/multipleVis.R

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

1
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

1
2
3
4
5
6
7
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")

Bioconductor-mirror/RareVariantVis documentation built on May 31, 2017, 11:41 p.m.