hyperlinks {HTGM} | R Documentation |
hyperlinks
Description
driver to add gene list hyperlinks to the HTGM heatmap
Usage
hyperlinks(s, rownames, colnames)
Arguments
s |
character path name of the file containing the HTGM svg |
rownames |
character vector of row names |
colnames |
character vector of column names |
Value
returns the path name of the file containing the hyperlinked HTGM svg
Examples
#load("data/x_rn.RData")
#load("data/x_cn.RData")
#load("data/x_svg.RData")
s<-system.file("extdata","x_htgm.svg",package="HTGM")
# need to avoid writing to "extdata"
dir<-tempdir()
file.copy(from=s, to=dir)
hyperlinkedFileName<-hyperlinks(sprintf("%s/%s",dir,"x_htgm.svg"),x_rn,x_cn)
print("hyperlinkedFileName")
print(hyperlinkedFileName)
[Package HTGM version 1.1 Index]