Closed Sophia409 closed 2 years ago
I also want to use this function. The following is my methods. The file mac_all_auc_mtx.txt from pyscenic aucell result.
auc <- read.csv("./v2/mac_all_auc_mtx.txt",row.names = 1) colnames(auc) <- gsub("\.{3}","",colnames(auc)) AUCmatrix <- t(auc) regulonActivity_byCellType <- sapply(split(cell_cluster$cellid, cell_cluster$cluster), function(cells) rowMeans(AUCmatrix[,cells]))
Hello aertslab, Wondering how can I compute regulon_specificity_scores to get cell type specific regulons in SCENIC? Is there a function like regulon_specificity_scores in pySCENIC?