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

Error in R #79

Closed
hmyh1202 opened this issue Dec 2, 2021 · 2 comments
Closed

Error in R #79

hmyh1202 opened this issue Dec 2, 2021 · 2 comments

Comments

@hmyh1202
Copy link

hmyh1202 commented Dec 2, 2021

$../ggsashimi.py -b input_bams.tsv -c chr10:27040584-27048100 -g annotation.gtf -M 10 -C 3 -O 3 --shrink --alpha 0.25 --base-size=20 --ann-height=4 --height=3 --width=18 -P palette.txt
[W::hts_idx_load3] The index file is older than the data file: bams/ENCFF450AIU.chr10_27035000_27050000.bam.bai
[W::hts_idx_load3] The index file is older than the data file: bams/ENCFF960FZU.chr10_27035000_27050000.bam.bai
Warning messages:
1: In density_grobs[[id]]$widths[1] <- density_grobs[[id]]$widths[1] + :
number of items to replace is not a multiple of replacement length
2: In density_grobs[[id]]$widths[3 + vs] <- maxYtextWidth :
number of items to replace is not a multiple of replacement length
3: In density_grobs[[id]]$widths[1] <- density_grobs[[id]]$widths[1] + :
number of items to replace is not a multiple of replacement length
4: In density_grobs[[id]]$widths[3 + vs] <- maxYtextWidth :
number of items to replace is not a multiple of replacement length
5: In density_grobs[[id]]$widths[1] <- density_grobs[[id]]$widths[1] + :
number of items to replace is not a multiple of replacement length
6: In density_grobs[[id]]$widths[3 + vs] <- maxYtextWidth :
number of items to replace is not a multiple of replacement length
7: In density_grobs[[id]]$widths[1] <- density_grobs[[id]]$widths[1] + :
number of items to replace is not a multiple of replacement length
8: In density_grobs[[id]]$widths[3 + vs] <- maxYtextWidth :
number of items to replace is not a multiple of replacement length
9: In density_grobs[[id]]$widths[1] <- density_grobs[[id]]$widths[1] + :
number of items to replace is not a multiple of replacement length
10: In density_grobs[[id]]$widths[3 + vs] <- maxYtextWidth :
number of items to replace is not a multiple of replacement length
Error in grid.Call.graphics(L_setviewport, vp, TRUE) :
INTEGER() can only be applied to a 'integer', not a 'NULL'
Calls: ggsave ... lapply -> FUN -> push.vp.viewport -> grid.Call.graphics
Execution halted

I have got a error in using ggsashimi.py with the example data.

So what is mean of the error ? thank U.

@dgarrimar
Copy link
Collaborator

Hi @hmyh1202 Uhm.. it seems it could be related to the version of R/ggplot that you are using. Could you please let us know which versions are you using to try to reproduce the problem? You should not have problems using the Docker image.

@stale
Copy link

stale bot commented Feb 10, 2022

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the stale Issues with no recent activity label Feb 10, 2022
@stale stale bot closed this as completed Feb 17, 2022
@emi80 emi80 removed the stale Issues with no recent activity label Jan 10, 2023
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

3 participants