View source: R/compute_consensus_peaks.R
compute_consensus_peaks | R Documentation |
Compute consensus peaks from a list of GRanges.
compute_consensus_peaks(
grlist,
groups = NULL,
genome_build,
lower = 2,
upper = Inf,
min.gapwidth = 1L,
method = c("granges", "consensusseeker"),
...
)
grlist |
Named list of GRanges objects. |
groups |
A character vector of the same length as |
genome_build |
Genome build name. |
lower, upper |
The lower and upper bounds for the slice. |
min.gapwidth |
Ranges separated by a gap of at least |
method |
Method to call peaks with:
|
... |
Arguments passed on to
|
NOTE: If you get the error
"Error in serialize(data, node$con) : error writing to connection"
,
try running closeAllConnections
and rerun compute_consensus_peaks.
This error can sometimes occur when
compute_consensus_peaks
has been disrupted partway through.
Named list of consensus peak GRanges.
data("encode_H3K27ac") # example dataset as GRanges object
data("CnT_H3K27ac") # example dataset as GRanges object
data("CnR_H3K27ac") # example dataset as GRanges object
grlist <- list(CnR=CnR_H3K27ac, CnT=CnT_H3K27ac, ENCODE=encode_H3K27ac)
consensus_peaks <- compute_consensus_peaks(grlist = grlist,
groups = c("Imperial",
"Imperial",
"ENCODE"))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.