colorHMM: add (new) colors to a ChromHMM track

View source: R/colorHMM.R

colorHMMR Documentation

add (new) colors to a ChromHMM track

Description

add (new) colors to a ChromHMM track

Usage

colorHMM(HMM, cols = NULL, how = c("MNEMONIC", "STATE", "NUMBER"))

Arguments

HMM

a GRanges from an ChromHMM segmentation

cols

a data.frame of colors and associated states

how

how to match the HMM states to those in cols? ("MNEMONIC")

Value

same HMM but with better colors


ttriche/chromophobe documentation built on Oct. 14, 2024, 11:59 a.m.