Description Usage Arguments Details Value See Also Examples
View source: R/save.plots.label.html.R
Generate HTML file called 'tree_scatter_label.html' from the
result of ipcaps
. This function is a part of workflow in
save.plots
. 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.
1 | save.plots.label.html(output.dir)
|
output.dir |
A result directory as the |
After running, this function generates the file called 'tree_scatter_label.html' in the same result directory. All plots are generated and saved as image files in the sub-directory 'images'.
NULL
save.html
,
save.plots
,
save.plots.cluster.html
,
and save.eigenplots.html
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 | # 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 = 'IPCAPS.BIOC')
LABEL.file <- system.file('extdata',
'ipcaps_example_individuals.txt.gz',
package = 'IPCAPS.BIOC')
my.cluster <- ipcaps(bed = BED.file,
label.file = LABEL.file,
lab.col = 2,
out = tempdir(),
max.thread = 1,
seed = 1234)
#Here, to generate HTML file
save.plots.label.html(my.cluster$output.dir)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.