Learn R Programming

occugene (version 1.32.0)

occup2Negenes: Convert Occupancy Format to Negenes

Description

Convert the annotation and insertion formation of the occupancy package into the format for the negenes package.

Usage

occup2Negenes(anno,clone,INTERGENIC=FALSE)

Arguments

anno
2-column matrix of annotation
clone
vector of insertion locations
INTERGENIC
Process the intergenic region as last ORF.

Value

Details

Convert the annotation and insertion formation of the occupancy package into the format for the negenes package. Of the returned data frame, column 1 is n.sites, column 2, n.sites2, column 3, counts, column 4, counts2.

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
occup2Negenes(anno,clone)

Run the code above in your browser using DataLab