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

Section of inferCNV heatmap blacked out #657

Open
julie-jch opened this issue Apr 22, 2024 · 0 comments
Open

Section of inferCNV heatmap blacked out #657

julie-jch opened this issue Apr 22, 2024 · 0 comments

Comments

@julie-jch
Copy link

julie-jch commented Apr 22, 2024

Hello Team,

I'm encountering a strange issue. I am running inferCNV on some data, and every time I attempt to generate a plot, the bottom section of the plot is blacked out.

The data has ~55000 cells
I am running it on a Linux server
infercnv version: 1.12.0

code used to generate plot

infercnv_obj = infercnv::run(infercnv_obj,
                             cutoff=0.1, 
                             out_dir=out_dir, 
                             cluster_by_groups=TRUE, 
                             denoise=TRUE,
                             HMM=FALSE,
                             no_plot=FALSE,
                             output_format="pdf",
                             num_threads=18)

image

Additional Information:
If I run plot per group, all images are generated well.

 infercnv::plot_per_group(infercnv_obj,
                          out_dir=out_dir,
                          output_format="pdf")

When I call the plot_cnv() and try to generate the heatmap this way, I get the same issue.

plot_cnv(infercnv_obj,
         out_dir=out_dir,
         obs_title="Observations (Cells)",
         ref_title="References (Cells)",
         cluster_by_groups=TRUE,
         x.center=1,
         x.range="auto",
         hclust_method='ward.D',
         color_safe_pal=FALSE,
         output_filename="infercnv_heatmap",
         output_format="pdf",
         dynamic_resize=0
         )
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