Open frederikziebell opened 2 years ago
Hi Frederik, thank you for pointing this out. We are working on the splicing events and encountered the same issue as well. I wonder do you have a good idea to circumvent the problem before it was fixed?
Hi @frederikziebell and @hsun3163, the constrain in the length of feature names should have been fixed in the latest version. Could you please update the mofapy2
python package (just do pip install mofapy2
) and reinstall the MOFA2
R package from github (instructions here https://biofam.github.io/MOFA2/installation.html), and let me know if the problem is solved?
If you are using reticulate
to make the R-Python connection make sure that you are linking the latest mofapy2
version, and not some previous version you currently have installed.
FYI latest versions should be: MOFA2 R package: 1.7.2 mofapy2 python package: 0.6.6
Here's an example
The two feature names are very long. MOFA truncates them, causing a loss of unique feature names, which results in
when the trained model is loaded at the end of
run_mofa
. I suggest to not truncate feature names. If the names are too long for some plots to look nice, it should be the user's burden to make sure names are short. If you truncate, I suggest to at least put a "..." at the end of the feature name to indicate truncation.This example seems artificial, but in my application, the long feature name was a phosphorylation of a histone protein, which caused the error.