Skip to content

The barplot is too squeezed #196

@AlexSongh

Description

@AlexSongh

Hi I was wondering if there is a flag option that we can adjust the size of the bar plots (for example bar width, and legend position etc?)

I tried --scaleplotwidth 2, --scaleplotwidth 4, etc but it gives me only partial legends texts and I can see no plots at all.

My plot looks like this

Image

I have tried modifying the scripts of phyloFlash_barplot.R with following options:

  1. updated the theme in ggplot, theme(
    axis.text.x = element_text(angle = 45, hjust = 1, size = 10),
    legend.title = element_text(size = 7),
    legend.text = element_text(size = 6),
    legend.key.size = unit(0.3, "cm"),
    legend.spacing.y = unit(0.2, "cm"),
    legend.position = "right"
    ),

It is not working.

  1. I changed 80 with 200 for this code width <- 360 + conf$options$scaleplotwidth[1] * 80 * num.samples. But it still does not work.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions