Description Usage Arguments Value Author(s) References See Also Examples
Different summary methods for the classes in the
MACPET
package.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 | ## S3 method for class 'PSelf'
summary(object, ...)
## S4 method for signature 'PSelf'
summary(object, ...)
## S3 method for class 'PSFit'
summary(object, threshold = NULL, ...)
## S4 method for signature 'PSFit'
summary(object, threshold = NULL, ...)
## S3 method for class 'PIntra'
summary(object, heatmap = FALSE, ...)
## S4 method for signature 'PIntra'
summary(object, heatmap = FALSE, ...)
## S3 method for class 'PInter'
summary(object, heatmap = FALSE, ...)
## S4 method for signature 'PInter'
summary(object, heatmap = FALSE, ...)
## S3 method for class 'GenomeMap'
summary(object, threshold = NULL, ...)
## S4 method for signature 'GenomeMap'
summary(object, threshold = NULL, ...)
|
object |
An object of correct class used to create different summaries. |
... |
Further arguments to be passed to the summary function. |
threshold |
A numeric representing the FDR cut-off or summarizing singificant peaks (or interactions), if NULL the summary is based on all the peaks found. |
heatmap |
TRUE or FALSE indicating whether the user wants to plot a heat-map plot for the Intra/Inter-chromosomal PET counts within chromosomes or between different chromosomes. |
A summary of the object
and a heat-map plot depending on the
class of the input.
Ioannis Vardaxis, ioannis.vardaxis@ntnu.no
Vardaxis I, Drabl<c3><b8>s F, Rye M and Lindqvist BH (2018). MACPET: Model-based Analysis for ChIA-PET. To be published.
PSelf
,
PSFit
,
PInter
,PIntra
,
GenomeMap
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 | #load Self-ligated data: (class=PSelf)
load(system.file('extdata', 'MACPET_pselfData.rda', package = 'MACPET'))
class(MACPET_pselfData)
summary(MACPET_pselfData)
#load Self-ligated data: (class=PSFit)
load(system.file('extdata', 'MACPET_psfitData.rda', package = 'MACPET'))
class(MACPET_psfitData)
summary(MACPET_psfitData)
summary(MACPET_psfitData,threshold=1e-5)
#load Intra-chromosomal data: (class=PIntra)
load(system.file('extdata', 'MACPET_pintraData.rda', package = 'MACPET'))
class(MACPET_pintraData)
summary(MACPET_pintraData)
requireNamespace('ggplot2')
requireNamespace('reshape2')
summary(MACPET_pintraData,heatmap=TRUE)#sample data, not good heatmap plot.
#load Inter-chromosomal data: (class=PInter)
load(system.file('extdata', 'MACPET_pinterData.rda', package = 'MACPET'))
class(MACPET_pinterData)
summary(MACPET_pinterData)
requireNamespace('ggplot2')
requireNamespace('reshape2')
summary(MACPET_pinterData,heatmap=TRUE)#sample data, not good heatmap plot.
#load Interaction data: (class=GenomeMap)
load(system.file('extdata', 'MACPET_GenomeMapData.rda', package = 'MACPET'))
class(MACPET_GenomeMapData)
summary(MACPET_GenomeMapData)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.