plot_bed: bed region plotter

Description Usage Arguments Value Examples

Description

This function plots data from bed file

Usage

1
2
3
4
5
plot_bed(bed, name_bed, color_bed, size_bed = 1, mychr, start_loc,
  end_loc, breaks_wanted = 4, y_title = "SE",
  show_partial_overlap = T, same_y_level = T, axis_line_size = 1,
  marginvec_mm = c(0, 0, 0, 0), reverse_strand = FALSE,
  show_labels = F, print_plot = F)

Arguments

bed

bedpe file for DNA loops or interaction data

name_bed

name of sample

color_bed

color of track

size_bed

size of bed (height)

mychr

chromosome

start_loc

start location on chromomse

end_loc

end location on chromosome

breaks_wanted

number of breaks on x-axis

y_title

title for y-axis

show_partial_overlap

include loops that do not entirely overlap the coordinates

same_y_level

plot all bed regions on same height (y-axis)

axis_line_size

line size of x-axis

marginvec_mm

margin around plot, default = c(0,0,0,0)

show_labels

boolean: show x-axis lables

print_plot

boolean: print individual plot

Value

ggplot object

Examples

1
    plot_bed(bed)

RubD/GeTrackViz2 documentation built on May 31, 2019, 2:45 p.m.