drawDigestionFragmentHistogram: Visualize digestion fragments with a histogram

Description Usage Arguments Value Author(s) Examples

Description

This function is a small convenience function to plot the results of simulateDigestion as a histogram. Minimum and maximum fragment lengths can be specified to visualize a specified interval of the fragment data.

Usage

1
    drawDigestionFragmentHistogram(fragments, minLength = 0, maxLength = 10000)

Arguments

fragments

Fragment data to visualize (data frame with lengths and corresponding frequencies)

minLength

Minimum fragment length to visualize

maxLength

Maximum fragment length to visualize

Value

Histogram plot of the fragment data

Author(s)

Carolin Walter

Examples

1
2
3
    shortTestGenome = "ATCCATGTAGGCTAAGTACACATGTTAAGGTACAGTACAATTGCACGATCAT"
    fragments = simulateDigestion("catg", "gtac", shortTestGenome)
    drawDigestionFragmentHistogram(fragments)

Basic4Cseq documentation built on Nov. 8, 2020, 6:53 p.m.