nateosher / DIMPLE

MIT License
2 stars 1 forks source link

why does this happen sometime with plot_pairwise_group_heatmap ?? #45

Closed mariamasotti1 closed 1 year ago

mariamasotti1 commented 1 year ago

Screen Shot 2023-03-14 at 11 56 33 AM

jeliason commented 1 year ago

Yes - it has to do with the way duplicate entries are removed from the dist matrix. We should fix this though. Can you add as an issue?

On Tue, Mar 14, 2023 at 12:01 PM Maria Masotti @.***> wrote:

[image: Screen Shot 2023-03-14 at 11 56 33 AM] https://user-images.githubusercontent.com/112586949/225063606-926be822-b6b1-4879-b15c-2a6b3edf2c99.png

— Reply to this email directly, view it on GitHub https://github.com/nateosher/DistDist/issues/45, or unsubscribe https://github.com/notifications/unsubscribe-auth/AC44PS4WLO3MHXO3IWQND3TW4CI55ANCNFSM6AAAAAAV2USZCI . You are receiving this because you are subscribed to this thread.Message ID: @.***>

jeliason commented 1 year ago

@mariamasotti1 can you add a reproducible example (reprex) of how you get this plot?

mariamasotti1 commented 1 year ago

@jeliason i'm putting the .RDS data in a google drive folder because my dropbox is not working :/

CRC_example_jsd_10_30 <- readRDS("CRC_example_jsd_10_30.RDS") df<-lm_dist(CRC_example_jsd_10_30, "Group", agg_fun = mean, covariates = NULL, slide_ids = NULL, types = NULL ) plot_pairwise_group_heatmap(df)