Skip to content

Error in validObject(.Object): invalid class “corMatrix” object: 'sd' slot has nonfinite elements #180

@derrik-gratz

Description

@derrik-gratz

Otherwise
I am trying to run MAST with a full single-cell dataset of multiple identified CD8 cell subtypes, one condition with two factors, and two timepoints. I am trying to run everything in one model since all the CD8s are being processed together, but perhaps it would be better to split by celltype, although I ran a similar model successfully for combined CD4 subtypes. See the chunk below for my model formula

zlmCond <- zlm(~ cdr +    ##cngeneson
                 cluster_labels +    ##celltype (naive, effector memory, etc)
                 condition +   ## factor with 2 levels
                 timepoint +   ## factor with 2 levels
                 condition:timepoint + 
                 cluster_labels:condition +
                 cluster_labels:timepoint +
                 cluster_labels:condition:timepoint +
                 (1|hash.ID),
              obj.sce,
              method = 'glmer',
              ebayes = FALSE,
              exprs_values = 'logcounts',
              fitArgsD = list(nAGQ=0),
              parallel = TRUE,
              silent = FALSE)

The model starts running but fails ~8% of the way through with this error:

Error in validObject(.Object) : 
  invalid class “corMatrix” object: 'sd' slot has nonfinite elements

Again I was able to run this model formula successfully on a CD4 subset from the same dataset. Any idea what might be causing this?

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