Learn R Programming

occugene (version 1.32.0)

checkFormat: Checks the Format of Annotation and Insertions

Description

Checks the format of the annotation and insertions.

Usage

checkFormat(anno,clone)

Arguments

anno
2-column matrix of annotation
clone
vector

Value

Details

Checks the format of the annotation and insertions list. Annotation has to be a matrix of the first and last target in the ORF. Insertions has to be a vector. Will stop if not correct format.

References

See the book chapter O. Will (**) in **

Examples

Run this code
data(sampleAnnotation)
data(sampleInsertions)
anno <- cbind(sampleAnnotation$first,sampleAnnotation$last)
clone <- sampleInsertions$position
if (checkFormat(anno,clone)) {print("Looks good.");}

Run the code above in your browser using DataLab