getIgvGenome | R Documentation |
Writes an IGV session into a separate .xml file
getIgvGenome(param)
writeIgvSession(
genome,
refBuild,
file = "igvSession.xml",
bamUrls = NULL,
vcfUrls = NULL,
locus = "All"
)
writeIgvSessionLink(
genome,
refBuild,
bamFiles,
html,
locus = "All",
label = "Open Integrative Genomics Viewer",
baseUrl = PROJECT_BASE_URL
)
genome |
a character representing the build name. |
refBuild |
a character representing a file path to the reference build. |
file |
a character representing the name of the file to write the IGV session in. |
bamUrls |
a character vector containing BAM file links. |
vcfUrls |
a character vector containing VCF file links. |
locus |
a character describing which loci were used. |
Returns a character containing the name of the newly written .xml file.
getIgvGenome()
: Gets the IGV genome if specified or otherwise tries to get the build name from the parameters.
writeIgvSessionLink()
: Writes an IGV session link.
Rehrauer, Hubert
Schmid, Peter
newXMLNode
saveXML
addChildren
param = ezParam()
genome = getIgvGenome(param)
writeIgvSession(genome, param$ezRef["refBuild"])
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.