data("geneHapR_test")
# length of values must be equal with number of sites in hap result
values <- paste0("newInfo",c(1:9))
hapResult <- addINFO(hapResult, tag = "new", values = values, replace = TRUE)
data("geneHapR_test")
# check how many sites were concluded in hapResult/hapSummary
sites(hapResult)
Run the code above in your browser using DataLab