MBDDiff: Performing differential methylation analysis based on...

Description Usage Arguments Details Value Author(s) References See Also Examples

Description

This function is basically a wrapper function for XBSeq

Usage

1
MBDDiff(promoter, background, conditions, method = "pooled", sharingMode = "maximum", fitType = "local", pvals_only = FALSE, paraMethod = "NP")

Arguments

promoter

A data.frame or matrix that contains promoter methylation levels

background

A data.frame or matrix of the same dimension as promoter that contains background noise for each promoter region

conditions

A character or factor vector that contains the experimental design information

method

Method used to estimate SCV

sharingMode

Mode of sharing of information

fitType

Option to fit mean-SCV relation

pvals_only

Logical; Specify whether to extract pvalues only

paraMethod

Method to use for estimation of distribution parameters, 'NP' or 'MLE'

Details

For further details please refer to XBSeq

Value

A list of two elements:

MBD

A XBSeqDataSet object

A data.frame of the following elements:

id

rownames of XBSeqDataSet

baseMean

The basemean for all promoters

baseMeanA

The basemean for condition 'A'

baseMeanB

The basemean for condition 'B'

foldChange

The fold change compare condition 'B' to 'A'

log2FoldChange

The log2 fold change

pval

The p value for all promoters

padj

The adjusted p value for all promoters

Author(s)

Yuanhang Liu

References

https://github.com/Liuy12/MBDDiff

See Also

estimateRealCount, XBSeqDataSet, estimateSCV, XBSeqTest

Examples

1
2
3
4
5
6
  ## Not run: 
    data(PromoterCount)
    conditions <- c(rep('C1', 3), rep('C2', 3))
    MBDDiff(Promoter, Background, conditions)
    
## End(Not run)

Liuy12/MBDDiff documentation built on May 7, 2019, 2 p.m.