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

finetuning the association and model evaluation plot #40

Open
mcfmulders opened this issue Jun 1, 2023 · 1 comment
Open

finetuning the association and model evaluation plot #40

mcfmulders opened this issue Jun 1, 2023 · 1 comment
Labels
question Further information is requested

Comments

@mcfmulders
Copy link

Hi! Thanks for the excellent package.

I was wondering if it would be possible to be able to save my association plot and model evaluation plot in a wider format. I am using siamcat for pathway data with quite large names. For the model evaluation plot some parts of the names of the pathways are cut off and the association plot doesn't even show the names of the pathways. Is there a way to finetune the width and or height of these plots?
Thanks in advance.

Merijn

@jakob-wirbel
Copy link
Collaborator

Hi @mcfmulders
sorry for the longer delay!
By default, the plot is rendered to a DIN-A4 format pdf document. But alternatively, you can generate the plot to your device (which can be another pdf document), if you don't supply a filename in the function. It will prompt you if you are sure, since too small plot dimensions might result in a broken plot, but you can also turn off this prompt:

pdf('./test.pdf', width=20, height=10)
association.plot(sc.obj, prompt=FALSE, fn.plot=NULL)
dev.off()

Hope this still helps!
Jakob

@jakob-wirbel jakob-wirbel added the question Further information is requested label Sep 12, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants