Calculate correlation distance between PC magnitudes given a number of target dimensions
pathway.pc.correlation.distance(pcc, xv, n.cores = 1, target.ndf = NULL)
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
a matrix of normalized aspect patterns (rows: significant aspects, columns: cells)
numeric Number of cores to use (default=1)
numeric Target dimensions (default=NULL)
correlation distance matrix, akin to stats dist