Nanostring-Biostats / GeomxTools

Tools for NanoString GeoMx Digital Spatial Profiler data for reading DCC and PKC files to NanoStringGeomxSet class, Normalization and QC.
MIT License
35 stars 16 forks source link

QC questions #196

Open slzhao opened 6 months ago

slzhao commented 6 months ago

Hello,

Can someone help me to understand the QC process?
Based on this link: https://www.bioconductor.org/packages/release/workflows/vignettes/GeoMxWorkflows/inst/doc/GeomxTools_RNA-NGS_Analysis.html#4_QC__Pre-processing

It mentioned:

Raw sequencing reads: segments with >1000 raw reads are removed.

in fact in the code (NanoStringGeoMxSet-qc.R), it works as:

lowReads <- sData(object)["Raw"] < cutoff This looks correct in code (fewer raw reads than cutoff was labeled) but incorrect in the document (more raw reads than cutoff was removed).

Similarly (but reversely), the document mentioned:

segments with low negative counts (1-10) are not necessarily removed

But in the code, it works as:

    lowNegs <- 
        data.frame("LowNegatives"=apply(negativeGeoMeans < cutoff, 1, sum) > 0)

This looks incorrect in code (fewer negative counts than cutoff was labeled) but correct in the document (more negative counts should be labeled).

github-actions[bot] commented 6 months ago

Thank you for contacting us about our tools! To receive assistance, kindly email support@nanostring.com with detailed information about your issue. If applicable, attach a screenshot of any encountered errors and include a copy of the modified script in Notepad. Our customer support team will help facilitate a review and resolution of the issue.

Thank you for choosing NanoString, NanoString Dev Team