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
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 numberIn addition: Warning messages:1: In min(c(dataA, dataB)) : no non-missing arguments to min; returning Inf2: In max(c(dataA, dataB)) : no non-missing arguments to max; returning -Inf