
Last chance! 50% off unlimited learning
Sale ends in
write.hmm(x, filename, append=FALSE)
hmm
TRUE
, append hmm to existing file, otherwise
overwrite.state.names <- c("neutral", "conserved")
h <- hmm(matrix(c(0.99, 0.01, 0.01, 0.99), nrow=2,
dimnames=list(state.names, state.names)),
eq.freq=c(neutral=0.9, conserved=0.1))
filename <- tempfile()
write.hmm(h, filename)
unlink(filename)
Run the code above in your browser using DataLab