removeCondition: Remove condition from model

Description Usage Arguments Value Examples

View source: R/removeCondition.R

Description

Remove a condition from a combinedMultiHMM object.

Usage

1

Arguments

model

A combinedMultiHMM object or file which contains such an object.

conditions

A character vector with the condition(s) to be removed.

Value

The input combinedMultiHMM object with specified conditions removed.

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
## 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')

chromstaR documentation built on Nov. 8, 2020, 8:29 p.m.