Description Usage Arguments Details Author(s) References See Also
SXTpcaplot is used to draw PCA plot
1 2 3 4 5 6 7 8 | SXTpcaplot<-function(sample=NULL,qc=NULL,info=NULL,tags=NULL,
#used data
width=7,height=7,QC=FALSE,text=FALSE,ellipse=FALSE,
color=c("green","red","blue","yellow","black","cyan","gray48",
"chocolate4","darkmagenta","indianred1"),
shape=c(17,19,15,18,2,8,11,13,12,14),
cexlab=1.3,cexaxis=1.3,cexa=1.3,cextext=1
#parameter setting)
|
sample: | a matrix whose column reorents peak and row represents sample |
qc: | a matrix whose column reorents peak and row represents qc |
info: | a matrix whose colum represent the classes of samples |
tags: | a matrix represent the information of peaks |
width&heigh: | the width and heigh of plot, default are 7 |
QC: | the qc samples are drawn in the plot or not, default is FALSE |
text: | the samples' names are writen in the plot or not, default is FALSE |
ellipse: | the ellipse is drawn in the plot or not, default is FALSE |
color: | the colors for the different classes of samples, |
default are c("green","red","blue","yellow","black","cyan","gray48") | |
shape: | the shapes for the different classes of samples, default are c(17,19,15,18,2,8,11) |
scalemethod: | which scale method you want to use? auto, pareto and center |
Package: | SXTpcaplot |
Type: | Package |
Version: | 2.2 |
Date: | 2016-08-03 |
License: | What license is it under? |
pcaplot 2d t1 vs t2: | the PCA plot respect to PC1 and PC2 |
pcaplot 2d t1 vs t3: | the PCA plot respect to PC1 and PC3 |
pcaplot 2d t2 vs t3: | the PCA plot respect to PC2 and PC3 |
pcaplot 3d: | the PCA plot respect to PC1, PC2 and PC3 |
sample.pca: | the pca model of sample |
version2.2: | the name who is not in the sample is discarded from info |
Jasper Shen
Maintainer: Jasper Shen <shenxt1990@163.com>
nothing
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.