setGenome,igvR-method | R Documentation |
Specify the reference genome, currently limited to hg38, hg19, mm10, tair10.
## S4 method for signature 'igvR' setGenome(obj, genomeName)
obj |
An object of class igvR |
genomeName |
A character string, one of "hg38", "hg19", "mm10", "tair10" |
An empty string, an error message if the requested genome is not yet supported
if(interactive()){ igv <- igvR() setGenome(igv, "mm10") }
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.