cole-trapnell-lab / monocle3

Other
327 stars 101 forks source link

Error with coefficient_table ('getCharCE' must be called on a CHARSXP) #439

Open ghost opened 3 years ago

ghost commented 3 years ago

I using the monocle 3_0.2.3.0, R 4.0.0, macOS Mojave 10.14.6.

After fitting a model, thus:

gene_fits_45 <- fit_models(cds_45, model_formula_str = "~type")

I get an error with

coefficient_table(gene_fits_45)

What makes this particularly thorny is that I tried to narrow this down by calling coefficient_table just on slices of the table. But I found that sometimes that error occurs and sometimes it doesn't with the same slice. For example, sometimes this works and sometimes is doesn't:

coefficient_table(gene_fits_45[1000:10000,])

I realize this is far from a reproducible example. Any guidance on how I might be able to narrow down the problem further or thoughts about a solution?

hpliner commented 3 years ago

Can you please post the full error message? Seems like possibly this could help: https://github.com/dselivanov/text2vec/issues/189#issuecomment-302461391