checkFormat {occugene} | R Documentation |
Checks the format of the annotation and insertions.
checkFormat(anno,clone)
anno |
2-column matrix of annotation |
clone |
vector |
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.
Returns a boolean.
Oliver Will owill4@yahoo.com
See the book chapter O. Will (**) in **
data(sampleAnnotation) data(sampleInsertions) anno <- cbind(sampleAnnotation$first,sampleAnnotation$last) clone <- sampleInsertions$position if (checkFormat(anno,clone)) {print("Looks good.");}