annotateChipSeqPeaks | R Documentation |
This function is intended to search all peaks within up and down distances for each gene. Users could specify their own platforms or the function will download platform from UCSC as default.
annotateChipSeqPeaks(chip.seq,transcriptDB = NULL, species = "Hs", distanceRange = c(-1e+06,1e+06), file = NULL)
chip.seq |
A matrix list all CHIP-Seq peaks in which the chromosome ID for all peaks are listed in the first column, peaks' start positions are listed in the second column, peaks' end position are listed in the third column, peaks' ID are listed in the forth column and the fifth column lists peaks' score. |
file |
File name with path where the final matrix will deposit. If it is null the final matrix will be returned from the function. |
transcriptDB |
Platform table name with path saved in the local matchine. |
distanceRange |
Chip.seq peaks found within distances from Transcription Start Site. |
This function is intended to search all peaks within up and down distances for each gene.
This function returns a matrix in which the first column contains the RefSeqID, the second column contains Entrez ID , the third column contains chromosome ID, the fourth column contains the absolute distance from each peak to transcription start site and the fifth column contains chip-seq score.
Zhen Hu
Publication forthcoming.
data(nMyc)
RefTable<-createRefGenome("mm8_refGene",genome.id = "mm8", tablename = "refGene")
ChipSeq<-annotateChipSeqPeaks(n.Myc,transcriptDB=RefTable,species="Mm",distanceRange=c(-1e+06,1e+06),file=NULL)
res<-chipSeqWeightedSum(ChipSeq,verbose=T)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.