Closed immanuelazn closed 3 months ago
For peaks with no arrows: Before
After
Code to run:
region <- GenomicRanges::GRanges(
seqnames = S4Vectors::Rle(c("chr15")),
ranges = IRanges::IRanges(52789700:52790000)
)
trackplot_genome_annotation(
loci=demo_small_motifs$hits$Eye_c11,
region=region,
annotation_size=3,
show_strand=TRUE,
color_by="score",
label_by="name",
num_arrows=50
)
Description
Various small changes to coverage plots and genome peak plots to handle smaller motifs better.
trackplot_create_arrow_segs()
did not properly assign values to the start and end position if a strand was negative.trackplot_coverage()
Tests
trackplot_create_arrow_segs()
trackplot_coverage()