chromoMap (version 0.1)

chromoMapToHTML: convert chromoMap plots into customizable HTML documents

Description

Helpful in sharing the graphics. Also give options to add text

Usage

chromoMapToHTML(chromoMap, file = "chromoMap.html",
  title = "Choose attractive Title for your chromoMap", dir = "",
  description = "", openAfterSave = FALSE)

Arguments

chromoMap

an object of the chromoMap plot

file

name of the file to save with, default is chromoMap.html

title

A string for the Title that can be included in the document

dir

specify the directory of the file.default is current directory.

description

A string for adding description of the plot

openAfterSave

A boolean to specify whether to open the document after save

Examples

Run this code
# NOT RUN {
library(chromoMap)
data("pancandata")
chmap = chromoMap(pancandata$data2,type="heatmap-double")

#saving plot to HTML document
#for desription
my_desc = "you can write a paragraph to describe your plot"
chromoMapToHTML(chmap,title = "Expression profile Comparison in normal vs tumor",
description = my_desc,openAfterSave = TRUE,dir=tempdir())




# }

Run the code above in your browser using DataLab