drawDigestionFragmentHistogram {Basic4Cseq} | R Documentation |
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.
drawDigestionFragmentHistogram(fragments, minLength = 0, maxLength = 10000)
fragments |
Fragment data to visualize (data frame with lengths and corresponding frequencies) |
minLength |
Minimum fragment length to visualize |
maxLength |
Maximum fragment length to visualize |
Histogram plot of the fragment data
Carolin Walter
shortTestGenome = "ATCCATGTAGGCTAAGTACACATGTTAAGGTACAGTACAATTGCACGATCAT" fragments = simulateDigestion("catg", "gtac", shortTestGenome) drawDigestionFragmentHistogram(fragments)