Description Usage Arguments Value Examples
View source: R/removeCondition.R
Remove a condition from a combinedMultiHMM
object.
1 | removeCondition(model, conditions)
|
model |
A |
conditions |
A character vector with the condition(s) to be removed. |
The input combinedMultiHMM
object with specified conditions removed.
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')
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.