Winnie09 / Lamian

48 stars 11 forks source link

Error: result would be too long a vector When running the codes on the tutorial #14

Open wuyiying2018 opened 1 year ago

wuyiying2018 commented 1 year ago

Hi! I am trying to run the code on the tutorial. Everything runs well except this one on Page 6.

## clustering
Res$covariateGroupDiff <-getCovariateGroupDiff(testobj = Res, gene = diffgene)

It returns

Error in min(knotnum):max(knotnum) : result would be too long a vector
In addition: Warning messages:
1: In min(knotnum) : no non-missing arguments to min; returning Inf
2: In max(knotnum) : no non-missing arguments to max; returning -Inf

Do you have any idea of how to fix it? Thank you!

Winnie09 commented 1 year ago

Hi! Thank you for your interest in this package! That line of command runs well on my computer. Are you using the example data from the package or other data? Could you show str(Res) and str(diffgene) please?