.LearnModel {segmenter} | R Documentation

## Call Java `LearnModel`

### Description

Call the Java module `LearnModel` which learns a multi-state model from ChIP-seq data.

### Usage

    .LearnModel(
      inputdir,
      outputdir,
      numstates,
      coordsdir,
      anchorsdir,
      chromsizefile,
      assembly,
      optional
    )

### Arguments

`inputdir` | A string. The path to binarized files.
`outputdir` | A string. The path to a directory where output will be written.
`numstates` | An integer. The number of desired states in the model.
`coordsdir` | A string. The path to genomic coordiantes files.
`anchorsdir` | A string. The path to the genomic anchors files.
`chromsizefile` | A string. The path to the chromosomes sizes file.
`assembly` | A string. The name of the genomic assembely.
`optional` | A string. Other optional arguments passed to the Java command.

### Value

`NULL`. Output files are written to the output directory.

### See Also

learn_model

[Package segmenter version 1.0.0 Index]