Last chance! 50% off unlimited learning
Sale ends in
framsub(x, pattern = "-", replacement = "?")
edgesub
.The only the matched characters at the egde of the input DNA string will be replaced.edgesub
##framsub example ########
dir <- system.file("extdata", package = "phylotools")
setwd(dir)
testphy <- read.phylip("rbcla.phy")
testdat <- phy2dat(testphy)
framsub(testdat)
Run the code above in your browser using DataLab