Description Usage Arguments Value Author(s) Examples
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.
1 | multipleVis(inputFiles, outputFile, sampleNames, chromosome)
|
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). |
comp1 |
function returns html visualization file for specified samples |
Adam Gudys and Tomasz Stokowy
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")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.