zhanghao-njmu / SCP

An end-to-end Single-Cell Pipeline designed to facilitate comprehensive analysis and exploration of single-cell data.
https://zhanghao-njmu.github.io/SCP/
GNU General Public License v3.0
327 stars 70 forks source link

error in "RunKNNPredict" and "CellCorHeatmap" #246

Open CCCBBG opened 2 weeks ago

CCCBBG commented 2 weeks ago

When I run RunKNNPredict and CellCorHeatmap functions. Problems occured For example, when I run the pancreas_sub and panc8_rename data

ht <- CellCorHeatmap( srt_query = pancreas_sub, srt_ref = panc8_rename, query_group = "SubCellType", ref_group = "celltype", nlabel = 3, label_by = "row", show_row_names = TRUE, show_column_names = TRUE ) Predict cell type... Error: No cell overlap between new meta data and Seurat object In addition: Warning messages: 1: In PseudobulkExpression(object = object, pb.method = "average", : Exponentiation yielded infinite values. data may not be log-normed. 2: In PseudobulkExpression(object = object, pb.method = "average", : Exponentiation yielded infinite values. data may not be log-normed.

Why doesn't my data or sample data work? Looking forward to your reply. Thanks a lot bro