maftools
maftools copied to clipboard
Lollipop plots
Hi
I created nice lollipop plot using maftools. The issue is I facing difficulty creating a scale on Y-axis.
Here is my code:
lollipopPlot(
maf = laml,
gene = 'KLF4',
AACol = 'aaChange',pointSize = 2,
showMutationRate = FALSE, showDomainLabel = TRUE,
labelPos = 409, showLegend = TRUE, labPosSize = 0.7, domainLabelSize = 0.5,
legendTxtSize = 0.8, axisTextSize = c(1,1), defaultYaxis = FALSE,
printCount = TRUE)
I am attaching the created plot
Hi, I cant seem to reproducde the issue. What version of the package are you using? Could you please post the sessionInfo?
Hi
Here is the session info()
> sessionInfo()
R version 4.3.1 (2023-06-16 ucrt)
Platform: x86_64-w64-mingw32/x64 (64-bit)
Running under: Windows 10 x64 (build 19045)
Matrix products: default
locale:
[1] LC_COLLATE=English_United Kingdom.utf8 LC_CTYPE=English_United Kingdom.utf8
[3] LC_MONETARY=English_United Kingdom.utf8 LC_NUMERIC=C
[5] LC_TIME=English_United Kingdom.utf8
time zone: Europe/London
tzcode source: internal
attached base packages:
[1] stats graphics grDevices utils datasets methods base
other attached packages:
[1] maftools_2.16.0
loaded via a namespace (and not attached):
[1] vctrs_0.6.3 cli_3.6.1 rlang_1.1.1 generics_0.1.3
[5] data.table_1.14.8 glue_1.6.2 colorspace_2.1-0 scales_1.2.1
[9] fansi_1.0.4 grid_4.3.1 munsell_0.5.0 tibble_3.2.1
[13] lifecycle_1.0.4 DNAcopy_1.74.1 compiler_4.3.1 dplyr_1.1.3
[17] RColorBrewer_1.1-3 pkgconfig_2.0.3 rstudioapi_0.15.0 lattice_0.21-8
[21] R6_2.5.1 tidyselect_1.2.0 utf8_1.2.3 pillar_1.9.0
[25] splines_4.3.1 magrittr_2.0.3 Matrix_1.6-1 tools_4.3.1
[29] gtable_0.3.4 survival_3.5-7 ggplot2_3.4.3
Could you please update the package (current version is >2.18) and try again?
This issue is stale because it has been open for 60 days with no activity.
This issue was closed because it has been inactive for 14 days since being marked as stale.