Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issues using plotMatrix #14

Open
narzouni opened this issue Dec 13, 2024 · 0 comments
Open

Issues using plotMatrix #14

narzouni opened this issue Dec 13, 2024 · 0 comments

Comments

@narzouni
Copy link

Hello,
Thank you so much for developing these R interesting packages for Hi-C. I am currently working on MicroC data and I found your book.

I tried to use plotMatrix but it gave an error.

I used a .mcool file (cool).

hic2 <- import(coolf, focus = '1:30000-50000000', resolution = 2000)

Here is the information about hic2:

hic2
HiCExperiment object with 1,326,084 contacts over 24,986 regions


fileName: "Lib1_Sample1A_1kb.mcool"
focus: "1:30,000-50,000,000"
resolutions(14): 1000 2000 ... 4096000 8192000
active resolution: 2000
interactions: 730094
scores(2): count balanced
topologicalFeatures: compartments(0) borders(0) loops(0) viewpoints(0)
pairsFile: N/A
metadata(0):

If I try to plot it, it give an error related to the file '/usr/lib/libXrender.1.dylib'. I am using R version 4.4.2 on Mac. Did you ever get this error? Here is the error.

plotMatrix(hic2)
Error: .onLoad failed in loadNamespace() for 'Cairo', details:
call: dyn.load(file, DLLpath = DLLpath, ...)
error: unable to load shared object '/Library/Frameworks/R.framework/Versions/4.4-arm64/Resources/library/Cairo/libs/Cairo.so':
dlopen(/Library/Frameworks/R.framework/Versions/4.4-arm64/Resources/library/Cairo/libs/Cairo.so, 0x0006): Library not loaded: /opt/X11/lib/libXrender.1.dylib
Referenced from: <2B39D2DE-4EEA-3AB3-9BC0-0355BE038E52> /Library/Frameworks/R.framework/Versions/4.4-arm64/Resources/library/Cairo/libs/Cairo.so
Reason: tried: '/opt/X11/lib/libXrender.1.dylib' (no such file), '/System/Volumes/Preboot/Cryptexes/OS/opt/X11/lib/libXrender.1.dylib' (no such file), '/opt/X11/lib/libXrender.1.dylib' (no such file), '/usr/local/lib/libXrender.1.dylib' (no such file), '/usr/lib/libXrender.1.dylib' (no such file, not in dyld cache)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant