Yelab2020 / Cottrazm

Construct Tumor Transition Zone Microenvironment
35 stars 7 forks source link

BoundaryDefine with MalLabel = NULL, the code needs to be fixed #7

Open parkjooyoung99 opened 1 year ago

parkjooyoung99 commented 1 year ago

Dear developer,

when running BoundaryDefine with MalLabel = NULL, the error below pops up Error in[.data.frame(TumorST@meta.data, , c("CNVLabel", "CNVScores")) : undefined columns selected

and this is because the code is trying to find column 'CNVScores' which is not created during STCNVScore step.

In STCNVScore, the colname is set as 'cnv_score' not 'CNVScores'. I think modification should be made.

Thank you!

xzz-1995 commented 11 months ago

I've fixed the code; thank you for your reminder.