Nanostring-Biostats / InSituType

An R package for performing cell typing in SMI and other single cell data
Other
29 stars 11 forks source link

Error in Phase 4 of Semi-supervised Clustering #216

Open alonzowolfram opened 2 months ago

alonzowolfram commented 2 months ago

Hello,

When running insitutype() on my data, I get the following error in phase 4: phase 4: classifying all 405339 cells Error in .local(x, ...) : Cells with 0 counts were found. Please remove.

I have removed all the cells with 0 counts, and I still get this error. This is the code I'm using:

insitutype(
        x = counts_sub,
        neg = negmean_sub,
        cohort = metadata_sub$fastCohorting,
        bg = NULL,
        n_clusts = n_clusts_lower_bound:n_clusts_upper_bound,
        reference_profiles = updatedprofiles,
        update_reference_profiles = FALSE,
        n_phase1 = 10000,
        n_phase2 = 20000,
        n_phase3 = 1e+05,
        n_starts = 10,
        max_iters = 40
      )

I've double-checked all the input, and it looks all right, but maybe I'm missing something obvious? Thanks!

github-actions[bot] commented 2 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