PCA, UMAP and tSNE scatter plots
Last updated
Last updated
After performing exploratory analyses such as PCA, UMAP and t-SNE is is helpful to visualize the results on a scatter plot. This can help visually assess the source of variation affecting the results of an experiment, classify cells and select samples for downstream analysis. Here we have a PCA scatter plot generated from the analysis of 12 samples from a scRNA sequencing study. The first three most informative PCs are plotted by default and the percentage of variation explained is stated next to each one of them.
The Configure > Style menu on the left can then be used to color the features in the scatter plot based on an attribute (Figure 2). In this case, Figure 3 shows the cells being colored based on their cell-type.
Additionally, you can adjust the opacity of the points to better assess the density across the groups (Figure 4). It is also possible to split the plot based on the same attribute in the Configure > Grouping menu (Figure 5).
These same options apply to UMAP and t-SNE. Open the t-SNE results in the data viewer by double clicking the t-SNE data node. If there are already cell level attributes published to the project the Data viewer will automatically color the plot by the first cell level attribute (Figure 6).
The t-SNE can also be plotted in a 2D scatter plot. Use New plot to select 2D Scatter plot then drag it to the canvas and select the t-SNE data node from the analyses pipeline (Figure 7).
This will plot the t-SNE in a 2D visualization which can be exported to your machine (Figure 8).
Use New plot or Get data to add the UMAP data node to the canvas (Figure 9).
If you need additional assistance, please visit our support page to submit a help ticket or find phone numbers for regional support.
Click the Save image button to save a PNG, SVG, or PDF to your machine.
Click the Send to notebook button to send the image to a page in the Notebook.
The entire Data viewer canvas can be exported to your machine as one visualization using the left menu Export image option.