I am getting the following error when I attempt to plot the dot plot and the heat map plots.
I have run cellphonedb method statistical_analysis sample_meta_file.txt sample_counts_file.txt and then get the expected output files. Then I try to run:
cellphonedb plot heatmap_plot sample_meta_file.txt --pvalues-path sample_output/pvalues.txt
I get the following error in both plotting cases:
OSError: cannot load library '/Library/Frameworks/R.framework/Resources/lib/libR.dylib': dlopen(/Library/Frameworks/R.framework/Resources/lib/libR.dylib, 2): no suitable image found. Did find:
/Library/Frameworks/R.framework/Resources/lib/libR.dylib: mach-o, but wrong architecture
/Library/Frameworks/R.framework/Versions/4.1-arm64/Resources/lib/libR.dylib: mach-o, but wrong architecture
I am working in a Jupyter Notebook instance that is running a virtual environment where I have only pip installed cellphonedb, so I believe that all associated packages should be running the correct version. I also have an M1 machine and am aware that this causes conflicts with some R packages.
Has anyone else seen this error or have a solution? I'm hoping to mimic this process with my own data but wanted to ensure it worked with sample data first.
I am getting the following error when I attempt to plot the dot plot and the heat map plots.
I have run
cellphonedb method statistical_analysis sample_meta_file.txt sample_counts_file.txt
and then get the expected output files. Then I try to run:cellphonedb plot heatmap_plot sample_meta_file.txt --pvalues-path sample_output/pvalues.txt
I get the following error in both plotting cases:
I am working in a Jupyter Notebook instance that is running a virtual environment where I have only pip installed cellphonedb, so I believe that all associated packages should be running the correct version. I also have an M1 machine and am aware that this causes conflicts with some R packages.
Has anyone else seen this error or have a solution? I'm hoping to mimic this process with my own data but wanted to ensure it worked with sample data first.