Extract activity matrix from PCA object

build_activity_mat(PCA_object, scaled = T)

Arguments

PCA_object

List, output from run_activity_analysis().

scaled

Boolean. By default, using scores scaled between 0 and 1. Set to FALSE if you want to keep raw projections of cells on PCs.

Value

Numeric matrix, with the different activation ways as rows and cells as columns and containing the activity score.