Skip to content

large matrix, finite number error.... #3

Description

@StefanHeller

Hi, I am trying to apply your script to a relatively large matrix of 302 cells and 13023 genes; imputed values for about 2400 genes. I compare two conditions 63 cells with 239 cells.

When running the "calculate_single" function, I am getting this error:
> results<- calculate_single(data = data,condition = condition,Hur_gene = Hur_gene, binSize=0.2,nperm=5)
do EMD for Hur genes.
Calculating pairwise emd scores...Error in seq.default(floor(min(c(dataA, dataB))), ceiling(max(c(dataA, : 'from' must be a finite number
In addition: Warning messages:
1: In min(c(dataA, dataB)) : no non-missing arguments to min; returning Inf
2: In max(c(dataA, dataB)) : no non-missing arguments to max; returning -Inf

Activity

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