Description Usage Arguments Details Value Author(s) References See Also Examples
Fit one-sample or two-sample MOSAiCS models with one signal component and two signal components.
1 2 3 4 | mosaicsFit( object, ... )
## S4 method for signature 'BinData'
mosaicsFit( object, analysisType="automatic", bgEst="rMOM",
k=3, meanThres=NA, s=2, d=0.25, trans="power", truncProb=0.999, parallel=FALSE, nCore=8 )
|
object |
Object of class |
analysisType |
Analysis type.
Possible values are "OS" (one-sample analysis),
"TS" (two-sample analysis using mappability and GC content), and
"IO" (two-sample analysis without using mappability and GC content).
If |
bgEst |
Parameter to determine background estimation approach.
Possible values are "matchLow" (estimation using bins with low tag counts) and
"rMOM" (estimation using robust method of moment (MOM)).
If |
k |
Parameter for estimating background distribution. It is not recommended for users to change this value. |
meanThres |
Parameter for estimating background distribution.
Default is 1 for |
s |
Parameter for estimating background distribution.
Relevant only when |
d |
Parameter for estimating background distribution.
Relevant only when |
trans |
Transformation of matching control tag count.
Possible values are "log" (logarithm transformation) and
"power" (power transformation).
Relevant only when |
truncProb |
Parameter for estimating background distribution.
Relevant only when |
parallel |
Utilize multiple CPUs for parallel computing
using |
nCore |
Number of CPUs when parallel computing is utilized. |
... |
Other parameters to be passed through to generic |
The imported data type constraints the analysis that can be implemented.
If only data for ChIP sample and matched control sample
(i.e., either type=c("chip", "input")
or type=c("chip", "input", "N")
was used in method readBins
),
only two-sample analysis without using mappability and GC content
(analysisType="IO"
) is allowed.
If matched control data is available
with mappability score, GC content score, and sequence ambiguity score,
(i.e., type=c("chip", "input", "M", "GC", "N")
was used in method readBins
),
user can do all of three analysis types
(analysisType="OS"
, analysisType="TS"
, or analysisType="IO"
).
If there is no data for matched control sample
(i.e., type=c("chip", "M", "GC", "N")
was used in method readBins
),
only one-sample analysis (analysisType="OS"
) is permitted.
Parallel computing can be utilized for faster computing
if parallel=TRUE
and parallel
package is loaded.
nCore
determines number of CPUs used for parallel computing.
meanThres
, s
, d
, trans
, and truncProb
are
the tuning parameters for estimating background distribution.
The vignette and Kuan et al. (2011) provide further details about these tuning parameters.
Please do not try different value for k
argument.
Construct MosaicsFit
class object.
Dongjun Chung, Pei Fen Kuan, Rene Welch, Sunduz Keles
Kuan, PF, D Chung, G Pan, JA Thomson, R Stewart, and S Keles (2011), "A Statistical Framework for the Analysis of ChIP-Seq Data", Journal of the American Statistical Association, Vol. 106, pp. 891-903.
Chung, D, Zhang Q, and Keles S (2014), "MOSAiCS-HMM: A model-based approach for detecting regions of histone modifications from ChIP-seq data", Datta S and Nettleton D (eds.), Statistical Analysis of Next Generation Sequencing Data, Springer.
readBins
, mosaicsFitHMM
, MosaicsFit
.
1 2 3 4 5 6 | ## Not run:
library(mosaicsExample)
data(exampleBinData)
exampleFit <- mosaicsFit( exampleBinData, analysisType="IO" )
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.