View source: R/plot3views.ipcaps.R
plot3views.ipcaps | R Documentation |
Plot the first three components of PCA using in 3 views.
plot3views.ipcaps(ipcaps_output)
ipcaps_output |
the returned object from the |
This function generates a plot in the standard R graphic. Therefore, it can be saved to a file using png(), pdf(), jpeg(), and tiff().
NULL
# 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) # Show a plot plot3views.ipcaps(my.cluster)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.