vargen_visualisation | R Documentation |
The plot contains 4 tracks:
The chromosome, with a red marker on the gene location
The ensembl transcripts
The variant consequences, grouped by type (eg: INTRONIC, STOP LOST etc...), each green bar represent a variant
The cadd phred score, each dot represent a variant
vargen_visualisation(
annotated_snps,
outdir = "./",
rsid_highlight,
device = "pdf",
verbose = FALSE,
gene_mart
)
annotated_snps |
a data.frame from the merging of the outputs of
|
outdir |
the directory that will contain the plots |
rsid_highlight |
optional, a vector of rsids, which will be plotted in red on the cadd track. |
device |
only "pdf" and "png" are supported now. |
verbose |
if TRUE, will display progress messages |
gene_mart |
optional, a connection to ensembl gene mart, can be created
using |
nothing, create the plots in "outdir". One file per gene, the name format is <hgnc_symbol>_<ensembl_id>_GVIZ
vargen_install("./vargen_data/")
# Simple query
gene_mart <- connect_to_gene_ensembl()
DM1_simple <- vargen_pipeline(vargen_dir = "./vargen_data/", omim_morbid_ids = "222100",
fantom_corr = 0.25, outdir = "./", verbose = TRUE)
vargen_visualisation(annotated_snps = DM1_simple, verbose = TRUE,
outdir = "./DM1_gviz", device = "png",
gene_mart = gene_mart)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.