DetectBindingSites: Detect binding sites from motif

Description Usage Arguments Value

View source: R/Motif2Site.R

Description

DETECT Binding sites with given motif and mismatch number as well genome/build, False Discovery Rate for a given experiment name.

This function is called by both DetectBindingSitesBed and DetectBindingSitesMotif with different input.

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
DetectBindingSites(
  From,
  BedFile,
  motif,
  mismatchNumber,
  chipSeq,
  genome,
  genomeBuild,
  DB = "UCSC",
  fdrValue = 0.05,
  windowSize = 100,
  GivenRegion = NA,
  currentDir
)

Arguments

From

Type of motif dataset either "Motif" or "Bed"

BedFile

Motif locations in bed format file

motif

motif characters in nucleotide IUPAC format

mismatchNumber

Number of mismatches allowed to match with motifs

chipSeq

ChIP-seq alignment both IP and background in 1nt bed format files

genome

The genome name such as "Hsapiens", "Mmusculus", "Dmelanogaster"

genomeBuild

The genome build such as "hg38", "hg19", "mm10", "dm3"

DB

The database of genome build. default: "UCSC"

fdrValue

FDR value cut-off

windowSize

Window size around binding site. The total region would be 2*windowSize+1

GivenRegion

granges of user provided binding regions

currentDir

Directory for I/O operations

Value

A list of FRiPs, sequence statistics, and Motif statistics


ManchesterBioinference/Motif2Site documentation built on Feb. 13, 2022, 2:03 a.m.