plot_lengths: Wrapper function to plot tandem repeat lengths for multiple...

Description Usage Arguments Examples

View source: R/NanoSatelliteR_functions.R

Description

plot_lengths() returns a ggplot2 based plot with each sample in a panel, the number of tandem repeat units on the y-axis, and colored dots corresponding to positive (red) and negative (blue) DNA strands

Usage

1
plot_lengths(df, binwidth = 5)

Arguments

df

data.frame generated by load_summary(), or qual_reads()

binwidth

A numeric value passed on to geom_dotplot()

Examples

1
2
3
4
df <- load_summary("/storage/NanoSatellite_chunks/")
qc <- summary_qc(df)
df2 <- qual_reads(df,qc$center_cutoff)
plot_lengths(df2)

arnederoeck/NanoSatelliteR documentation built on May 6, 2019, 1:35 a.m.