Closed rvanguri closed 5 years ago
Hi, can you possibly send me the Consolidated_data.txt and Script.R files that show this problem? Thanks!
Please see attached. phenoptr_issue.zip
Thank you for the data! The problem is that a few of your cells do not have cytoplasm data. This caused the sum to be NA
which was then mis-interpreted by the counting code.
A couple of solutions for you:
devtools::install_github('akoyabio/phenoptrReports@9000')
CD3+/~!is.na(`Cytoplasm CD8 (Opal 690) Mean`) & `Cytoplasm CD8 (Opal 690) Mean`>0.65
Thanks again for the bug report and the data to repro!
This works perfectly now, thanks!
I am running the "Analyze consolidated data" app and I see that it does find any cells for a particular phenotype in the Stroma category. The Tumor tissue category calculates correctly though. I've tried variations where I try to calculate only in the Stroma, Tumor and Stroma and Tumor alone. The Tumor totals are always correct but Stroma always results in 0 cells. If I manually grep through the Consolidated_data.txt it is clear that there are cells in the Stroma tissue category that should get counted.