removeCondition {chromstaR} | R Documentation |
Remove a condition from a combinedMultiHMM
object.
removeCondition(model, conditions)
model |
A |
conditions |
A character vector with the condition(s) to be removed. |
The input combinedMultiHMM
object with specified conditions removed.
## Get an example HMM file <- system.file("data","combined_mode-differential.RData", package="chromstaR") model <- get(load(file)) ## Print available conditions print(unique(model$info$condition)) ## Remove condition SHR new.model <- removeCondition(model, conditions='SHR')