load_chromhmm_model: Load ChromHMM model file

Description Usage Arguments Value Examples

View source: R/load_chromhmm_model.R

Description

Load ChromHMM model file

Usage

1
load_chromhmm_model(model_file, histone_order = NULL)

Arguments

model_file

ChromHMM model file. This file usually starts with "model_" and ends with ".txt"

histone_order

Specify the histone order. Example c("H3K4me3", "H3K27ac", "H3K4me1", "H3K36me3", "H3K9me3", "H3K27me3")

Value

Returns a list object.

Examples

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

load_chromhmm_model(model_file)

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