powered by
Visulization
plotViz(obj, method, point.size, point.shape, point.alpha, point.color, text.add, text.size, text.color, text.halo.add, text.halo.color, text.halo.width, legend.add, legend.pos, legend.text.size, legend.text.color, down.sample, pdf.file.name, pdf.width, pdf.height, ...)
A snap object.
Visulization method c("tsne", "umap").
Point size [1].
Point shape type [19].
Point transparancy level [0.8].
Color of point. Two options, points color by cell cluster label or sample ID c("cluster", "sample").
Whether to add cluster label text at the centroid of each cluster [TRUE].
Cluster label text size [5].
Cluster label text color ["black"].
Add halo to cluster label text [TRUE].
Halo color ["white"].
Halo width [0.5].
Add a legend to the plot [FALSE].
Position of the legend c("bottomleft", "bottom", "left", "topleft", "top", "topright", "right", "center").
Size of the text in the legend [1].
Color of the text in the legend ["black"].
Downsample the original cells to down.sample cells to ovoid large dataset [10,000].
pdf file name to save the plot [NULL].
the width of the graphics region in inches [7].
the height of the graphics region in inches [7].
Arguments passed to plot method.
# NOT RUN { data(demo.sp); plotViz( obj=demo.sp, method="tsne", point.color="sample", text.add=FALSE, legend.add=TRUE ); # }
Run the code above in your browser using DataLab