VariantExplorer-class | R Documentation |
Use this to coordinate the analysis of the snpEff summary, alignment files and bam files.
create_variant_explorer(sample_metadata, gff_ranges, bsgenome, igv_genome = "")
## S4 method for signature 'VariantExplorer'
igv_script(
x,
locus,
output_dir = getwd(),
image_basename = "",
exit_browser = TRUE,
maxPanelHeight = 500,
...
)
## S4 method for signature 'VariantExplorer'
summary(object)
## S4 method for signature 'VariantExplorer'
visualize(x, gene, sample, plot_type = "pileup")
sample_metadata |
sample metadata with at least the columns sample_id, snpeff, variant_caller. Suggested columns are bam and vcf. |
gff_ranges |
the gff for this organism imported with rtracklayer::import() |
bsgenome |
path to a BSgenome object. KN99 has one – check bioconductor |
igv_genome |
path to a genome object created by igvtools |
x |
a VariantExplorer object |
object |
a VariantExplorer instance |
gene |
the name of the gene you wish to visualize |
sample |
the sample_id you wish to see |
plot_type |
either 'pileup' or 'coverage'. Defaults to 'pileup' |
DETAILS
A VariantExplorer object
character(0)
character(0)
## Not run:
if(interactive()){
#EXAMPLE1
}
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.