OneScatter | R Documentation |
Generates a ggobject of one scater plot for either plotting directy or plotting a panel via multiplot
OneScatter(ClsAndData, Xvar, Yvar, Clsvar = "Cls", zero.rm = TRUE, ...)
ClsAndData |
numerical matrix [1:n,1:d+1] with d features and one classification vector as a column of this matrix |
Xvar |
string for column name of first feauture |
Yvar |
string for column name of second feauture |
Clsvar |
otional, string for column name of classification, default " |
zero.rm |
TRUE: removes zeros |
... |
further parameters for |
ggobject defining a two-dimensional scatter plot
michael thrun
Classplot
,
multiplot
## Not run:
DataMZL_T1=ReadScatter(nameMZL_T1,path)
DataMZL_T2=ReadScatter(nameMZL_T2,path)
gg1=OneScatter(DataMZL_T1,"CD5","CD19",Size=1,main="")
gg2=OneScatter(DataMZL_T1,"CD10","CD19",Size=1,main="")
gg3=OneScatter(DataMZL_T1,"CD23","CD20",Size=1,main="")
gg4=OneScatter(DataMZL_T1,"FMC7","CD20",Size=1,main="")
gg5=OneScatter(DataMZL_T2,"Kappa","Lambda",Size=1,main="")
gg6=OneScatter(DataMZL_T1,"CD79b","IgM",Size=1,main="")
#panel visualization
dbt.Plot::multiplot(gg1,gg2,gg3,gg4,gg5,gg6,cols = 3)#+ggtitle("MZL 12920")
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.