Skip to content

Error in direct th.cyc test #4

Description

@Elena983

Hi
I am trying to use the th.cyc function.
Could you please have a look at where may be the issue?

# Sample data for testing th.cyc directly
cyc <- 1:40
fluorescence <- c(10, 15, 20, 25, 30, 35, 40, 45, 50, 55,
                  60, 65, 70, 75, 80, 85, 90, 95, 100, 105,
                  110, 115, 120, 125, 130, 135, 140, 145, 150, 155,
                  160, 165, 170, 175, 180, 185, 190, 195, 200, 205)

# Test th.cyc function
cq_test <- tryCatch({
  th.cyc(cyc, fluorescence, auto = TRUE)@.Data[1]
}, error = function(e) {
  cat("Error in direct th.cyc test:\n")
  print(e)
  return(NA)
})

cat("Direct th.cyc test result:\n")
print(cq_test)

Error in direct th.cyc test:
<simpleError in validObject(.Object): invalid class “th” object: superclass "mMatrix" not defined in the environment of the object's class>

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