ImportBamExtendedAnnotationTrack: ImportBamExtendedAnnotationTrack Function (ModAnnot)

View source: R/ModAnnot.R

ImportBamExtendedAnnotationTrackR Documentation

ImportBamExtendedAnnotationTrack Function (ModAnnot)

Description

Subfunction to import a bam file for displaying using Gviz package while retrieving the content of the "Xa" optional field (will be retrieved as "tag" field). (See Gviz package documentation to see how to use it while making tracks) After making the AnnotationTrack, in order to allow the names of the genomic features to be displayed, the "mapping" sub-list of the generated annotation track must be completed with the new "id" and "group" values chosen while making the annotationTrack. Example: trackAnnotation@mapping <- list(id="tag", group="tag")

Usage

ImportBamExtendedAnnotationTrack(file, selection)

AlexisHardy/DNAModAnnot documentation built on Feb. 27, 2023, 12:03 a.m.