motif_gr: Get the positions of the PWM in ATAC-seq peaks.

Description Usage Arguments Value

View source: R/motif_gr.R

Description

Get the positions of the PWM in ATAC-seq peaks.

Usage

1
motif_gr(gr, pwm, genome, min.score = "80%")

Arguments

gr

A GRanges object. Usually ranges of ATAC-seq peaks.

pwm

A positional weight matrix of class Matirx.

genome

A BSgenome object.

min.score

Minimum alignment score for pwm.

Value

A GRanges object with positions of PWM match in peaks.


SamBuckberry/RunATAC documentation built on Aug. 2, 2021, 9:54 a.m.