# NOT RUN {
slist <- list.files(path=system.file("files/structure",package="pophelper"),full.names=TRUE)
#basic
plotMultiline(sfiles[1])
#adjust spl and lpp
plotMultiline(slist[1],spl=75,lpp=10)
#sort individuals
plotMultiline(slist[1],sortind="all")
plotMultiline(slist[1],sortind="Cluster1")
#include labels from file
plotMultiline(slist[1],indlabfromfile=T)
#external ind labels
inds <- read.delim(system.file("files/structureindlabels.txt",package="pophelper"),header=FALSE)
plotMultiline(slist[1],indlab=inds$V1)
# }
Run the code above in your browser using DataLab