newPeak {Ringo} | R Documentation |
This is just a simple convenience function to create a list
of class peak
.
newPeak(name, chr, start, end, cellType = NULL, antibody, maxPeak, score = NULL, probes = c(), ...)
name |
character; (if possible) unique identifier for the peak |
chr |
character; chromosome the peak is located on |
start |
integer; genomic start coordinate of the peak |
end |
integer; genomic end coordinate of the peak |
cellType |
optional character describing the cell type in which the peak was identified. |
antibody |
required character vector describing the antibody or other characteristic for which fragments were supposedly enriched in immuno-precipitation step |
maxPeak |
numeric; maximal probe level in the peak |
score |
optional numeric score of the peak |
probes |
optional character vector of probe identifiers of probes that make up the peak |
... |
further arguments that will be additional elements of the
peak list object |
a list object of class peak
, see peak-class
this function is called by other Ringo functions, such as
findPeaksOnSmoothed
and normally need not be called by
the user.
Tammo Krueger, Joern Toedling
peak-class
, findPeaksOnSmoothed
my.peak <- newPeak("Suz12.Nudt2.upstream.peak", chr="9", start=34318900, end=34320100, antibody="Suz12",cellType="human", maxPeak=2, score=99) print(my.peak)