immunarch icon indicating copy to clipboard operation
immunarch copied to clipboard

fixVis : Error in if (is.na(.plot)) { : the condition has length > 1

Open Valeriy-Tereshchenko opened this issue 2 years ago • 0 comments

❓ Questions and Help

We have a set of listed tutorials available on the website. Dear colleagues, When I apply fixVis() to any of my plots ( after vis() function) the error appears: fixVis : Error in if (is.na(.plot)) { : the condition has length > 1. fixVis without arguments is calling diamonds dataset. My system: R 4.2.1 ggplot2 3.3.6 immunarch 0.6.9 no Rtools

Script example: #Overlap repOverlap(InVitroList, .method = "morisita", .verbose = F) %>% vis("heatmap2") %>% fixVis()

repOverlap(InVitroList, .method = "overlap", .verbose = F) %>% repOverlapAnalysis("mds") %>% vis() %>% fixVis()

#GeneUsage geneUsage(InVitroList, "musmus.trbv", .norm = T) %>% geneUsageAnalysis(.method = "js", .verbose = F) %>% vis() %>% fixVis()

How can I fix it? Thank you!

Valeriy-Tereshchenko avatar Aug 08 '22 14:08 Valeriy-Tereshchenko