hmmpick: Pick the ChromHMM model that is most well-defined

Description Usage Arguments Format See Also Examples

View source: R/hmmpick.R

Description

Pick the ChromHMM model that is most well-defined

Usage

1
hmmpick(model_files, full_path = FALSE)

Arguments

model_files

A list of ChromHMM models

full_path

Boolean; TRUE to return the full model path in the output, or FALSE to return only the model basename.

Format

Returns a list sorted by ascending homogeneity cost. The models in model_files are used as the element names, and the model homogeneity cost are used as the element values.

See Also

homogeneity_cost for the calculation of the homogeneity cost.

Examples

1
2
3
4
5
6
7
model_files <- c(
  system.file("extdata", "model_roadmap15.txt",
              package="hmmpickr"),
  system.file("extdata", "model_roadmap18.txt",
              package="hmmpickr")
)
hmmpick(model_files)

csiu/hmmpickr documentation built on May 14, 2019, 12:24 p.m.