RCAPlot: Visualize the result of RCA clustering

Description Usage Arguments Value Examples

Description

Visualize the result of RCA via scatter (PCA) plot and heat maps.

Usage

1
RCAPlot(rca_obj, point_cex = 1, cluster_color_labels = NULL)

Arguments

rca_obj

input data object.

point_cex

scaling parameter for point size in scatter plots. Default value is 1.

cluster_color_labels

label of cell identities in colors based on external information. Default value is NULL.

Value

Two types of png format plots, including scatter plot in PCA space and heat map with columns representing samples and rows representing Reference Component Projections.

Examples

1
2
3
4
5
6
To color cells with default RCA clusters:
RCAplot(data_obj);

To color cells with external color labels:
RCAPlot(data_obj,cluster_color_labels = color_to_use);
Note: the "color_to_use" vector needs to be of the length of total number of input cells, and ordered according to the columns of the input expression data frame (e.g. FPKM_raw).

GIS-SP-Group/RCA documentation built on May 6, 2019, 5:30 p.m.