saveFigure {CancerSubtypes}R Documentation

This function save the figure in the current plot.

Description

This function save the figure in the current plot.

Usage

saveFigure(foldername = NULL, filename = "saveFig", image_width = 10,
  image_height = 10, image_res = 300)

Arguments

foldername

Character values. It specifies the folder name which will be created in the present working path.

filename

Character values. It specifies the saved file name.

image_width

the figure width

image_height

the figure height

image_res

the figure resolution

Value

A * .png file in the specified folder.

Author(s)

Xu,Taosheng taosheng.x@gmail.com,Thuc Le Thuc.Le@unisa.edu.au

Examples

data(GeneExp)
data(miRNAExp)
data(time)
data(status)
GBM=list(GeneExp=GeneExp,miRNAExp=miRNAExp)
result=ExecuteSNF(GBM, clusterNum=3, K=20, alpha=0.5, t=20)
group=result$group
distanceMatrix=result$distanceMatrix
p_value=survAnalysis(mainTitle="GBM",time,status,group,
      distanceMatrix=distanceMatrix,similarity=TRUE)
saveFigure(foldername="GBM",filename="GBM",image_width=10,image_height=10,image_res=300)

[Package CancerSubtypes version 1.8.0 Index]