<html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class=""><div class="">Is there a way to <span style="font-family: verdana, sans-serif;" class="">randomly sample a subset of my SNP data, say 13 SNPs out of ~3k, in adegenet when I read in a STRUCTURE file?</span></div><div class=""><span style="font-family: verdana, sans-serif;" class=""><br class=""></span></div><div class=""><font face="verdana, sans-serif" class="">boot_1 <-</font></div><div class=""><span style="font-family: verdana, sans-serif;" class=""><div class=""> read.structure(</div><div class=""> “snps.str",</div><div class=""> onerowperind = TRUE,</div><div class=""> n.ind = 16,</div><div class=""> n.loc = 2468,</div><div class=""> ask = FALSE,</div><div class=""> quiet = TRUE</div><div class=""> )</div><div class=""><br class=""></div></span></div></body></html>