chipSeqWeightedSum: A function to calculate binding strengh by summing weighted...

Description Usage Arguments Details Value Author(s) References See Also Examples

View source: R/chipSeqWeightedSum.R

Description

This function is intended to calculate chip-seq binding score and associated probability for each gene. The input chip-seq list contains all peaks found in up/down stream within certain range whose weights contribute to final score is assigned based on the its distance to transcription start site.

Usage

1
chipSeqWeightedSum(ChipList, verbose = FALSE, genome = NULL)

Arguments

ChipList

A matrix contains all peaks for each genes with each row represent one peak and the first column contains ref-seq ID, second column contain entrez ID, third column contains chromosome ID, fourth column contains distance from the center of the peak to transcription start site and the fifth column contains the peak's strength.

verbose

If TRUE, prints out results of every iteration.

genome

Transcript definition table created by makeTranscriptDbFromUCSC function and used to create ChipList

Details

This function is intended to calculate chip-seq binding score and associated probability for each gene.

Value

This function returns a matrix with first column contains the entrez ID, the second column contains the score and the third column contains the associated probability.

Author(s)

Mehdi Fazel-Najafabadi, Mario Medvedovic

References

...

See Also

...

Examples

1
2
3
4
5
6
## not run
data(erAlpha)
refTable <- GenomicFeatures::makeTxDbFromUCSC(genome="hg19",tablename="refGene")
ChipSeq <- annotateChipSeqPeaks(chip.seq=erAlpha[[3]], transcriptDB=refTable, distanceRange=c(-1e+06,1e+06))
tregBindingERalpha <- chipSeqWeightedSum(ChipSeq, verbose=TRUE, genome=refTable)
## not run

mfazel/tRegs documentation built on May 22, 2019, 7:55 p.m.