View source: R/SpatialPCA_utilties.R
plot_factor_value | R Documentation |
This function visualizes the low dimensional component values.
plot_factor_value(location, PCs, textmethod, pointsize = 2, textsize = 15)
location |
A n cell by k dimension of location matrix. n is cell number, k=2 if the spots are on 2D space. |
PCs |
A d by n matrix of low dimensional components. |
textmethod |
A text string of the name of method used to extract latent factors, e.g. "SpatialPCA" or "PCA". It will be shown as the title of the figures. |
pointsize |
The point size of each location for visualization. |
textsize |
The text size in the figure legend. |
A list of ggplot objects for factor value plots.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.