| save.html | R Documentation | 
Generate HTML file called 'tree_text.html' from the result of
ipcaps2. The clustering result is shown as a tree rendering by
the online Google Organizational Chart library. Note that the Internet is
required to view the HTML file.
save.html(output.dir)
output.dir | 
 A result directory as the   | 
After running, this function generates the file called 'tree_text.html' in the same result directory.
NULL
save.plots,
save.plots.cluster.html,
save.eigenplots.html,
and save.plots.label.html
# Importantly, bed file, bim file, and fam file are required
# Use the example files embedded in the package
BED.file <- system.file("extdata","ipcaps_example.bed",package="IPCAPS2")
LABEL.file <- system.file("extdata","ipcaps_example_individuals.txt.gz",package="IPCAPS2")
my.cluster <- ipcaps2(bed=BED.file,
                      label.file=LABEL.file,
                      lab.col=2,
                      out=tempdir(),
                      silence=TRUE,
                      no.rep=1)
#Here, to generate HTML file
save.html(my.cluster$output.dir)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.