save.plots.label.html {IPCAPS}R Documentation

Generate HTML file for scatter plots which data points are highlighted by given labels

Description

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.

Usage

save.plots.label.html(output.dir)

Arguments

output.dir

A result directory as the $output object returned from the ipcaps function.

Details

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'.

Value

NULL

See Also

save.html, save.plots, save.plots.cluster.html, and save.eigenplots.html

Examples


# 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")
LABEL.file <- system.file("extdata","ipcaps_example_individuals.txt.gz",package="IPCAPS")

my.cluster <- ipcaps(bed=BED.file,label.file=LABEL.file,lab.col=2,out=tempdir())

#Here, to generate HTML file
save.plots.label.html(my.cluster$output.dir)

[Package IPCAPS version 1.1.8 Index]