saveFigure {CancerSubtypes} | R Documentation |
This function save the figure in the current plot.
saveFigure( foldername = NULL, filename = "saveFig", image_width = 10, image_height = 10, image_res = 300 )
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 |
A * .png file in the specified folder.
Xu,Taosheng taosheng.x@gmail.com,Thuc Le Thuc.Le@unisa.edu.au
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)