checkFormat: Checks the Format of Annotation and Insertions

Description Usage Arguments Details Value Author(s) References Examples

View source: R/cloneFunc.R

Description

Checks the format of the annotation and insertions.

Usage

1
checkFormat(anno,clone)

Arguments

anno

2-column matrix of annotation

clone

vector

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.

Value

Returns a boolean.

Author(s)

Oliver Will owill4@yahoo.com

References

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

Examples

1
2
3
4
5
data(sampleAnnotation)
data(sampleInsertions)
anno <- cbind(sampleAnnotation$first,sampleAnnotation$last)
clone <- sampleInsertions$position
if (checkFormat(anno,clone)) {print("Looks good.");}

occugene documentation built on Nov. 8, 2020, 8:10 p.m.