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

Interactive vs. exported plots differ #9

Open
markuspleijzier opened this issue Sep 13, 2023 · 2 comments
Open

Interactive vs. exported plots differ #9

markuspleijzier opened this issue Sep 13, 2023 · 2 comments

Comments

@markuspleijzier
Copy link

Different clusters are returned when comparing interactive plots vs. exported plots

Code:

library(coconatfly)
library(dplyr)

mbon_ids <- cf_ids('/type:MBON.+', datasets = c('hemibrain', 'flywire'))

## for interactive version
cf_cosine_plot(mbon_ids, interactive = T, threshold = 5, group = T)

## for plotting
pdf("~/all_mbon_clust_grouped_T.pdf",
    width = 40, height = 45); par(mar = c(20, 20, 20, 20))
cf_cosine_plot(mbon_ids, interactive = F, threshold = 5, group = T)
dev.off()
@markuspleijzier
Copy link
Author

(inspect bottom right corner of plots)

@jefferis
Copy link
Contributor

Unfortunately a differerent heatmap function is required for the interactive mode and it's not trivial to align the output with the base R heatmap which remains the default.

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

2 participants