drawDigestionFragmentHistogram {Basic4Cseq}R Documentation

Visualize digestion fragments with a histogram

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

    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

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

[Package Basic4Cseq version 1.26.0 Index]