R version 3.3.1 (2016-06-21) -- "Bug in Your Hair"
Copyright (C) 2016 The R Foundation for Statistical Computing
Platform: x86_64-pc-linux-gnu (64-bit)
R is free software and comes with ABSOLUTELY NO WARRANTY.
You are welcome to redistribute it under certain conditions.
Type 'license()' or 'licence()' for distribution details.
R is a collaborative project with many contributors.
Type 'contributors()' for more information and
'citation()' on how to cite R or R packages in publications.
Type 'demo()' for some demos, 'help()' for on-line help, or
'help.start()' for an HTML browser interface to help.
Type 'q()' to quit R.
> library(jmosaics)
Loading required package: mosaics
Loading required package: Rcpp
> png(filename="/home/ddbj/snapshot/RGM3/R_BC/result/jmosaics/jmosaics-package.Rd_%03d_medium.png", width=480, height=480)
> ### Name: jmosaics-package
> ### Title: Joint analysis of multiple ChIP-seq data sets
> ### Aliases: jmosaics-package jmosaics
>
> ### ** Examples
>
>
> ## step by step not run
> ## Not run:
> ##D bin1 <- readBins(type = c("chip", "M", "GC", "N","input"),
> ##D fileName = c("h3k27me3_chip_chr10.txt",
> ##D "./M_chr10.txt", "./GC_chr10.txt", "./N_chr10.txt",
> ##D "h3k27me3_input_chr10.txt"))
> ##D bin2 <- readBins(type = c("chip", "M", "GC", "N","input"),
> ##D fileName = c("h3k4me1_chip_chr10.txt",
> ##D "./M_chr1.txt", "./GC_chr10.txt", "./N_chr10.txt",
> ##D "h3k4me1_input_chr10.txt"))
> ##D origin_bin <- list(bin1, bin2)
> ## End(Not run)
>
> data("jmosaics_example_data")
> bin <- readBinsMultiple(origin_bin)
> fit1 <- mosaicsFit(bin[[1]], analysisType = "IO")
Info: background estimation based on robust method of moment.
Info: two-sample analysis (Input only).
Info: use adaptive griding.
Info: fitting background model...
Info: done!
Info: fitting one-signal-component model...
Info: fitting two-signal-component model...
Info: calculating BIC of fitted models...
Error in initialize(value, ...) :
no slot of name "seqDepth" for this object of class "BinData"
Calls: mosaicsFit ... .local -> .mosaicsFit_IO -> new -> initialize -> initialize
Execution halted