# Load the data set H3N2
data(H3N2)
pop(H3N2) <- H3N2$other$x$country
Nepal <- popsub(H3N2, "Nepal")
# Using the default 2 individuals.
N.inform <- informloci(Nepal)
# 5 individuals.
N.informfive <- informloci(Nepal, cutoff = 5/nInd(Nepal))
# 10 individuals. Too many. Gives warning.
N.informten <- informloci(Nepal, cutoff = 10/nInd(Nepal))
# Decimate (10\%)
N.informdecimated <- informloci(Nepal, cutoff = 0.1)
Run the code above in your browser using DataLab