Skip to content
Discussion options

You must be logged in to vote

That code is in .fastAnnoPeaks(). It is based on overlap with annotations present in your geneAnnotation

.fastAnnoPeaks <- function(
peaks = NULL,
BSgenome = NULL,
geneAnnotation = NULL,
promoterRegion = c(2000, 100),
logFile = NULL
){
#Validate
peaks <- .validGRanges(peaks)
peakSummits <- GenomicRanges::resize(peaks,1,"center")
geneAnnotation$genes <- .validGRanges(geneAnnotation$genes)
geneAnnotation$exons <- .validGRanges(geneAnnotation$exons)
geneAnnotation$TSS <- .validGRanges(geneAnnotation$TSS)
BSgenome <- validBSgenome(BSgenome)
#Fir…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by rcorces
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants