View source: R/signal_average.R
signal_average | R Documentation |
Given the ChIP-seq signal on a range of relative genomic positions (e.g. at intergenic regions
or on ORFs), this function allows you to calculate the average ChIP signal by position. It takes
as input a data frame containing the genome-wide signal, for example the output of
signal_at_intergen
or signal_at_orf
.
signal_average(inputData, saveFile = FALSE)
inputData |
As a data frame containing at least a column named |
saveFile |
Boolean indicating whether output should be written to a .txt file (in current
working directory). If |
An R data frame with two columns: position (relative genome coordinate) and mean_signal (average signal at each relative coordinate).
## Not run:
signal_average(WT_conv)
signal_average(WT_S288C_ORFsignal)
signal_average(WT_conv, saveFile = TRUE)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.