<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
</head>
<body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">
Hello Thibaut,
<div class="">
<div class=""><br class="">
</div>
<div class="">The genind object is of size 8.9 Mb.</div>
<div class=""><br class="">
</div>
<div class="">Yesterday, when I tried find.clusters in the Rmarkdown document, it did not ask for any input. I wanted to know how many components to retain to run DAPC.</div>
<div class=""><br class="">
</div>
<div class="">However, today, when I tried find.clusters in R (without Rmarkdown), it worked absolutely fine.</div>
<div class=""><br class="">
</div>
<div class="">But another problem is that pop function is giving an error. Attached is the screenshot. My data is DNA multiple-sequence-alignment FASTA files of 357 genes, which are concatenated. Each file has same 220 bacterial strains. And my meta data includes
 220 strains distributed into 19 serovars (integers). Is my meta data in the correct required form?</div>
<div class=""><br class="">
</div>
<div class=""><img height="200" width="320" apple-width="yes" apple-height="yes" apple-inline="yes" id="B25D821E-9AC1-4E77-BEF4-AA90BCDB562C" src="cid:943D7881-6E60-444E-8038-5754883AF5B2@dlink.com" class=""></div>
<div class=""><br class="">
</div>
<div class="">Kind regards,</div>
<div class=""><br class="">
</div>
<div class="">Rav</div>
<div class=""><br class="">
</div>
<div class=""><br class="">
</div>
<div class=""><br class="">
</div>
<div class=""><br class="">
<div>
<blockquote type="cite" class="">
<div class="">On 1 Sep 2016, at 16:17, Thibaut Jombart <<a href="mailto:thibautjombart@gmail.com" class="">thibautjombart@gmail.com</a>> wrote:</div>
<br class="Apple-interchange-newline">
<div class="">Hi,<br class="">
<br class="">
what is the size of the dataset? Are you sure it did not display a graph of<br class="">
cumulative variance and waits for your input? As you specified it, the<br class="">
function is interactive and will wait on your input before giving results.<br class="">
<br class="">
Best<br class="">
Thibaut<br class="">
<br class="">
<br class="">
--<br class="">
Dr Thibaut Jombart<br class="">
Lecturer, Department of Infectious Disease Epidemiology<br class="">
Imperial College London<br class="">
<a href="https://sites.google.com/site/thibautjombart/" class="">https://sites.google.com/site/thibautjombart/</a><br class="">
https://github.com/thibautjombart<br class="">
Twitter: @TeebzR <https://twitter.com/TeebzR><br class="">
<br class="">
On 1 September 2016 at 00:33, Graham Reynolds <greynold@unca.edu> wrote:<br class="">
<br class="">
<blockquote type="cite" class="">Hi Rav, if you have multiple cores on your CPU you can distribute the task<br class="">
among them, which really speeds it up. That might at least let you see<br class="">
whether it is a problem with the dataset.<br class="">
<br class="">
grp <-find.clusters(app, max.n.clust=n, parallel = "multicore", ncpus = 4)<br class="">
<br class="">
You might need to install the Parallel package<br class="">
<br class="">
Cheers<br class="">
<br class="">
<br class="">
R. Graham Reynolds, Ph.D.<br class="">
Assistant Professor of Biology<br class="">
University of North Carolina Asheville<br class="">
www.caribbeanboas.org<br class="">
<br class="">
<br class="">
<br class="">
*From:* R-sig-genetics <r-sig-genetics-bounces@r-project.org> on behalf of<br class="">
Bhuller, Ravneet <ravneet.bhuller13@imperial.ac.uk><br class="">
<br class="">
<blockquote type="cite" class="">*Sent:* Wednesday, August 31, 2016 5:39 AM<br class="">
*To:* r-sig-genetics@r-project.org<br class="">
*Subject:* [R-sig-genetics] Query regarding DAPC using ADEGENT in R<br class="">
<br class="">
Dear All,<br class="">
<br class="">
I am trying to do DAPC on my genind object (app) using ADEGENET in R. But<br class="">
when I run the following command:<br class="">
<br class="">
grp <- find.clusters(app)<br class="">
<br class="">
it is processing continuously for more than 2 hours but not producing any<br class="">
output. Any guidance will be very much appreciated.<br class="">
<br class="">
Regards,<br class="">
<br class="">
Rav<br class="">
<br class="">
       [[alternative HTML version deleted]]<br class="">
<br class="">
_______________________________________________<br class="">
R-sig-genetics mailing list<br class="">
R-sig-genetics@r-project.org<br class="">
https://stat.ethz.ch/mailman/listinfo/r-sig-genetics<br class="">
R-sig-genetics Info Page - stat.ethz.ch<br class="">
<https://stat.ethz.ch/mailman/listinfo/r-sig-genetics><br class="">
stat.ethz.ch<br class="">
The R-sig-genetics mailing list is devoted to friendly, insightful,<br class="">
exciting discussions on genetic data analysis using the R software.<br class="">
</blockquote>
Covered<br class="">
<blockquote type="cite" class="">topics include:<br class="">
<br class="">
<br class="">
</blockquote>
<br class="">
       [[alternative HTML version deleted]]<br class="">
<br class="">
_______________________________________________<br class="">
R-sig-genetics mailing list<br class="">
R-sig-genetics@r-project.org<br class="">
https://stat.ethz.ch/mailman/listinfo/r-sig-genetics<br class="">
<br class="">
</blockquote>
<br class="">
<span class="Apple-tab-span" style="white-space:pre"></span>[[alternative HTML version deleted]]<br class="">
<br class="">
_______________________________________________<br class="">
R-sig-genetics mailing list<br class="">
R-sig-genetics@r-project.org<br class="">
https://stat.ethz.ch/mailman/listinfo/r-sig-genetics<br class="">
</div>
</blockquote>
</div>
<br class="">
</div>
</div>
</body>
</html>