Closed esraagithub closed 1 year ago
Hi @esraagithub, what is in the df
data frame?
Hi @esraagithub, what is in the
df
data frame?
like that
Thanks @esraagithub. It's still a bit hard for me to help you without extra information. Could you please create a reprex with your code? Thanks
In case anyone else comes across this issue when conducting analysis with gggenes. I thought I would share my solution to the question posed here. Adding expand arguments to scale_y_continuous allows the user to remove the excess whitespace around the molecules that occur when faceting.
# No space below the bars but 10% above them
ggplot(mtcars) +
geom_bar(aes(x = factor(cyl))) +
scale_y_continuous(expand = expansion(mult = c(0, .1)))
hello
could you help me to remove this distance considering my code like this ggplot(df, aes(xmin = Start, xmax = End, y=BGC, fill = Category, forward = Orientation)) + geom_gene_arrow()+#arrowhead_height = unit(3, "mm"), arrowhead_width = unit(3, "mm"))+