plot_RNA_bedgraph: RNA bedgraph plotter

Description Usage Arguments Value Examples

Description

This function plots RNA bedgraph data

Usage

1
2
3
4
5
6
7
8
plot_RNA_bedgraph(rna_bdg, name_rna_bdg, color_rna_bdg, mychr, start_loc,
  end_loc, binsize = 100, breaks_wanted = 4, y_title = "RPKM",
  chrom_col = "chr", start_col = "start", end_col = "end",
  counts_col = "RPKM", strand_col = NA, min_strand_sign = "-",
  plus_strand_sign = "+", make_minus_strand_negative = T,
  forced_y_min = NULL, forced_y_max = NULL, axis_line_size = 0.2,
  marginvec_mm = c(0, 0, 0, 0), use_barplot = F, alpha_fill = 0.7,
  reverse_strand = FALSE, show_labels = F, print_plot = F)

Arguments

rna_bdg

bedgraph file for RNA expression data

name_rna_bdg

name of sample

color_rna_bdg

color of track

mychr

chromosome

start_loc

start location on chromomse

end_loc

end location on chromosome

binsize

size of bin

breaks_wanted

number of breaks on x-axis

y_title

title for y-axis

chrom_col

column name for chromosomes

start_col

column name for start

end_col

column name for end

counts_col

column name with counts

strand_col

column name with strand info, default = NA

min_strand_sign

minus strand sign, default = '-'

plus_strand_sign

plus strand sign, default = '+'

make_minus_strand_negative

reverse strand

forced_y_min

hard minimum y-axis value

forced_y_max

hard maximum y-axis value

axis_line_size

line size of x-axis

marginvec_mm

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

use_barplot

plot track as barplot, default = F

alpha_fill

alpha for lineplot, default = 1

reverse_strand

boolean: flip strand x-axis direction

show_labels

boolean: show x-axis lables

print_plot

boolean: print individual plot

Value

ggplot object

Examples

1

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