save.html: Generate HTML file for clustering result in text mode

Description Usage Arguments Details Value See Also Examples

View source: R/save.html.R

Description

Generate HTML file called 'tree_text.html' from the result of ipcaps. 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

1
save.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_text.html' in the same result directory.

Value

NULL

See Also

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

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
# 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.html(my.cluster$output.dir)

IPCAPS documentation built on Jan. 26, 2021, 1:06 a.m.