phase_PC_plot: Correlation of phase score with PC

Description Usage Arguments Examples

Description

Correlation of phase score with PC

Usage

1
phase_PC_plot(ans, x, corr_feature, DR = "pca", num_dim = 1, AP = NULL)

Arguments

x

a seurat object

corr_feature

which feature is the selected DR correlated with

num_dim

which dimension in the dimensionality reduction (DR) method to use

Examples

1
2
3
exp_mat <- as.matrix (Seurat::GetAssayData (all_data, assay='RNA', slot='data'))
ans <- get_phase_score (exp_mat )
phase_PC_plot (ans, all_data, 'broad_type')

Yutong441/TBdev documentation built on Dec. 18, 2021, 8:22 p.m.