8000 CPTR Colon Cancer Dataset: Subsetting for a class causes error in DEG step · Issue #118 · NIDAP-Community/DSPWorkflow · GitHub
[go: up one dir, main page]

Skip to content

CPTR Colon Cancer Dataset: Subsetting for a class causes error in DEG step #118

Open

Description

@escauley

For the Colon Cancer test DSP dataset from CPTR, there is the following error:

When subsetting for a specific class like "normal" or "cancer" in the GeoMxSet object like so:

subset.object <- sdesign.list$object
subset.normal <- subset.object[, pData(subset.object)$class == "normal"] 
#sdesign.list$object could be any output GeoMxSet object form any step before DEG

We receive the error in DEG:

Warning in parallel::mclapply(featureNames(object), deFunc, groupVar, pDat,  :
  all scheduled cores encountered errors in user code
Error in x[["anova"]] : subscript out of bounds

This traces to the GeomxTools package in this script (line 87):
https://github.com/Nanostring-Biostats/GeomxTools/blob/master/R/NanoStringGeoMxSet-de.R

Things that have been tried so far:

  1. Filter the subsetted data so that features/genes are also removed that are not present in the subsetted data

To do this we applied the DSP Filtering step but changed the gene and segment cutoffs to 1%

--This did not fix the issue, but may be a necessary step when subsetting to correct the gene and segments detection information for the subset. Performing only the subset leaves the detection information from the whole set

  1. Checked pData and fData for any signs of annotations that were not removed

Activity

  1. escauley commented on Aug 24, 2023

    @escauley
    MemberAuthor

    The issue is not reproducible in the Human Kidney test dataset

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

      0