Skip to content

Direction 0 elements get plotted with a squished arrow #14

Description

@barrel0luck

I know you are not actively maintaining this package.
As it is the best package available to plot plasmids in R, I'm opening some issues/ feature requests for when you find the time/ inspiration to work on it.

Issue:
When I try to plot direction 0 features, I get a line on one side of the feature. It's like the arrow was supposed to be drawn but it hit a wall and got squished. It can be fixed in Inkscape, but it is a bit tricky.

library(tidyverse)
library(plasmapR)

pTEST <- read_tsv("pTEST.txt", skip = 2)
pTEST_plot <- plot_plasmid(pTEST, name = "pTEST")
ggsave("pTEST_4in.svg", pTEST_plot, width = 4, height = 4)
ggsave("pTEST_7in.svg", pTEST_plot, width = 7, height = 7)


pTEST_7in

[
pTEST.txt
](url)

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