pathway.pc.correlation.distance {pagoda2} | R Documentation |
Calculate correlation distance between PC magnitudes given a number of target dimensions
Description
Calculate correlation distance between PC magnitudes given a number of target dimensions
Usage
pathway.pc.correlation.distance(pcc, xv, n.cores = 1, target.ndf = NULL)
Arguments
pcc |
weighted PC magnitudes e.g. scde::pagoda.pathway.wPCA() gives the weighted PC magnitudes for each gene provided; e.g. scde::pagoda.gene.clusters() gives the weighted PC magnitudes for de novo gene sets identified by clustering on expression |
xv |
a matrix of normalized aspect patterns (rows: significant aspects, columns: cells) |
n.cores |
numeric Number of cores to use (default=1) |
target.ndf |
numeric Target dimensions (default=NULL) |
Value
correlation distance matrix, akin to stats dist
[Package pagoda2 version 1.0.12 Index]