Description Usage Arguments Details Value Author(s) References See Also Examples
View source: R/chipSeqWeightedSum.R
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.
1 | chipSeqWeightedSum(ChipList, verbose = FALSE, genome = NULL)
|
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 |
This function is intended to calculate chip-seq binding score and associated probability for each gene.
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.
Mehdi Fazel-Najafabadi, Mario Medvedovic
...
...
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
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.