Skip to contents

Plot the saved vector (fragment length) outputs generated with FROG_pal, FROG_nonpal or FROG_mix

Usage

FROG_plot(x, pattern1 = "", pattern2 = "")

Arguments

x,

Saved output from FROG_pal, FROG_nonpal or FROG_mix (alternatively, an integer vector)

pattern1,

Pattern1 used for digesting the DNAString

pattern2,

Pattern2 used for digesting the DNAString

Value

Fragment length distributions and a table with basic descriptive statistics

Examples

library(FROGmentator)
my_DNA<-gen_DNA(1000)
pattern1<-'GATC'
FROG_pal_output<-FROG_pal(my_DNA, pattern1)
FROG_plot(FROG_pal_output, pattern1)
#> `stat_bin()` using `bins = 30`. Pick better value with `binwidth`.
#> Warning: Removed 2 rows containing missing values (`geom_bar()`).