Usage
MEDIPS.meth(MSet1 = NULL, MSet2 = NULL, CSet = NULL, ISet1 = NULL, ISet2 = NULL, chr = NULL, p.adj="bonferroni", diff.method="edgeR", CNV=FALSE, MeDIP=FALSE, minRowSum=10, diffnorm="tmm")
Arguments
MSet1
has to be one or a concatenated list of MEDIPS SET objects (the control replicates)
MSet2
has to be one or a concatenated list of MEDIPS SET objects (the treatment data) or empty
CSet
has to be a COUPLING SET object (must fit the given MEDIPS SET objects with respect to reference genome and represented chromosomes)
ISet1
has to be one or a concatenated list of Input derived MEDIPS SET objects (general Input data or Inputs from the control replicates) or empty
ISet2
has to be one or a concatenated list of Input derived MEDIPS SET objects (Inputs from the treatment replicates) or empty
chr
specify one or several chromosomes (e.g. c("chr1", "chr2")), if only a subset of available chromosomes have to be processed.
p.adj
in order to correct p.values derived from the differential coverage analysis for multiple testing, MEDIPS uses Rs' p.adjust function.
Therefore, the following methods are available: holm, hochberg, hommel, bonferroni (default) , BH, BY, fdr, none.
diff.method
method for calculating differential coverage. Available methods: ttest (default) and edgeR.
CNV
In case there are INPUT SETs provided at both Input slots (i.e. ISet1 and ISet2),
copy number variation will be tested by applying the package DNAcopy to the window-wise log-ratios calculated based on the the means per group.
By setting CNV=F this function will be disabled (default: CNV=TRUE).
Please note, there is the function MEDIPS.addCNV which allows to run the CNV analysis on two groups of INPUT SETs using another (typically increased) window size.
MeDIP
This parameter determines, whether for the MEDIPS SETs given at the slots MSet1 and MSet2, CpG density dependent normalization values (rms and prob) will be calculated (default: MeDIP=TRUE).
minRowSum
threshold for the sum of counts in a window for the staistical test (default=10).
diffnorm
This parameter defines which normalisation method is applied prior to testing for differential enrichment between conditions (default='tmm'). tmm, quantile and none are possible when diff.method=edgeR while rpkm and rms are possible when diff.method=ttest.