BPFrequency: Accessor method for 'BPFrequency' slot in a 'genomicProfiles'...

Description Usage Arguments Details Value Author(s) References Examples

Description

Extract or Access BPFrequency slot in a genomicProfiles object.

Usage

1
BPFrequency(object)

Arguments

object

object is a genomicProfiles

Details

Default value is c(0.25,0.25,0.25,0.25) When generating a Postion Weight Matrix from a Position Frequency Matrix, the probability of occurrence of each base pair (Base Pair Frequency) is necessary (as originally described by Gary Stormo). It is possible to set custom values for BPFrequency with a vector of length 4 containing the probability of occurrence of each base pair (A,C,G,T) in order. If Base pair frequency is unknown, BPFrequency will compute base pair frequency from a DNA sequence. The nature of this sequence can be a BSgenome or a DNAStringSet. In order to decrease run time, it is advised to use DNAStringSet

Value

Returns BPFrequency slot in genomicProfiles object.

Author(s)

Patrick C.N. Martin <pm16057@essex.ac.uk>

References

Zabet NR, Adryan B (2015) Estimating binding properties of transcription factors from genome-wide binding profiles. Nucleic Acids Res., 43, 84<e2><80><93>94.

Examples

1
2
3
4
5
6
7
data(ChIPanalyserData)
# path to Position Frequency Matrix
PFM <- file.path(system.file("extdata",package="ChIPanalyser"),"BCDSlx.pfm")
# Building genomicProfiles object
GPP <- genomicProfiles(PFM=PFM,PFMFormat="raw")
#Extracting BPFrequency slot
BPFrequency(GPP)

ChIPanalyser documentation built on Nov. 8, 2020, 8:23 p.m.