# NOT RUN {
mrkdos <- data.frame(
marker=paste0("mrk", 1:3),
indiv1=c(1, 2, 2),
indiv2=c(4, 0, 0),
indiv3=c(3, 0, 2))
# use all rows and columns:
checkmrkDosage(mrkDosage=mrkdos, ploidy=4)
# use only first and last row and column and change the order:
checkmrkDosage(mrkDosage=mrkdos, ploidy=4, indiv=c("indiv3", "indiv1"),
markers=c("mrk3", "mrk1"))
# }
Run the code above in your browser using DataLab