I'm using the plotting function sizetree from library(plotrix) (Version: 3.8-1). This function has a showcount argument that allows some counts in parenthesis to show on the plot (see pic below).
But I wonder why when I use showcount=FALSE, the counts and parentheses around them don't go away? Is there any way to make them disappear?
h = "
sssss ooooooo ggggg tttt
a 1 1 0
a 2 1 1
b 1 1 0
b 1 2 0
c 2 1 0
c 3 2 1
d 1 1 0
d 1 1 0
e 1 1 0"
h = read.table(text=h,h=T)
library(plotrix)
plotrix::sizetree(h,showcount = FALSE)

The function seems to to have a bug in it. The function call itself recursively to add each of the columns, but the function neglects to pass along the
showcountvalue to each of the subsequent calls. Here's one way to "patch" the function. Essentally we are making a copy and changing a line of code. This method is really fragile and may easily break with other versions of the package, but this was tested withplotrix_3.7-8.Then we can run
to get