Make3D4obj | R Documentation |
This function created a MDS 3D plot with an inbuilt background describing the data colors
Make3D4obj(x, group, mds.type = "PCA", cex = 0.5, colFunc = function(x) {
rainbow(x) }, cut = F, names = F, opath = NULL, main = "")
x |
the StefansExpressionSet object |
group |
the grouping value (either colname from the samples table or a rowname from the data table |
mds.type |
the mds type to use (names from names(x@usedObj$MDS)) default = PCA |
cex |
define the size of the strings default=0.5 |
colFunc |
the color function if the color is not already defined using colors_4() default= function(x)rainbow(x) |
cut |
this has to be true for genes, as the samples are then binned into 10 expression groups each containing the same number of samples default=F |
names |
if true not dots, but the name in the samples table is plotted in 3D default=F |
opath |
create a webgl representation of the plot in a html page in this path (default = NULL) |
main |
the title of the plot (default =”) |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.