Learn R Programming

VLF (version 1.1)

Decile.Plot: VLF Decile Plot

Description

Creates a plot of VLF distributions summed for each decile segment.

Usage

Decile.Plot(VLF, seqlength)

Value

A barplot containing the sum of the VLFs for each decile barcode segment.

Arguments

VLF

A list of VLFs in each barcode position. May be a matrix containing vectors of singleton and shared VLFs, or can be a single vector of total VLFs.

seqlength

The length of the sequence. Usually 648 for nucleotide sequences and 216 for amino acid sequences.

Author

Taryn B. T. Athey and Paul D. McNicholas

Examples

Run this code
if (FALSE) data(birds)
species.names <- birds[,2]
specimen.Number <- nrow(birds)
rownames(birds) <- species.names
Nuc.count <- count.function(birds, specimen.Number, 648)
frequency.matrix <- ffrequency.matrix.function(Nuc.count, 648)
birdSpec.freq <- specimen.frequencies(frequency.matrix, birds, specimen.Number, species.names, 648)
Bird_position_VLFcount <- VLF.count.pos(birdSpec.freq, 0.001, 648)
Decile.Plot(Bird_position_VLFcount, 648)

Run the code above in your browser using DataLab