Hi
Tanks for your packages for TF analysis.
I have a problem here:
I did SCENIC analysis using pySCENIC, and finally I got the a loom file after pyscenic auc analysis.
I read the loom file in R and python to calculate rss, respectively. However, I got different results.
Hi Tanks for your packages for TF analysis. I have a problem here: I did SCENIC analysis using pySCENIC, and finally I got the a loom file after pyscenic auc analysis. I read the loom file in R and python to calculate rss, respectively. However, I got different results.
R: code
sce_SCENIC <- open_loom("sample_SCENIC.loom") regulonAUC <- get_regulons_AUC(sce_SCENIC, column.attr.name='RegulonsAUC') rss <- calcRSS(AUC=getAUC(regulonAUC), cellAnnotation=cellTypes[colnames(regulonAUC), selectedResolution])
Python: code:
lf = lp.connect( f_pyscenic_output, mode='r+', validate=False ) auc_mtx = pd.DataFrame( lf.ca.RegulonsAUC, index=lf.ca.CellID) lf.close() rss_cellType = regulon_specificity_scores( auc_mtx, sce_test.obs.celltype ) rss_cellType
The value in auc_mtx was same in R and python!
thanks so much