AdmixRelate: Difference between revisions

From software
Jump to navigation Jump to search
(Created page with "=Installation= <pre> wget popgen.dk/software/NGSadmix/ngsadmix32.cpp g++ ngsadmix32.cpp -O3 -lpthread -lz -o NGSadmix </pre> =Run example=")
 
 
(18 intermediate revisions by 2 users not shown)
Line 1: Line 1:
Software for inferring relatedness even if the individuals are admixed. To infer the relatedness you will need to known the individuals admixture proportions and the allele frequencies in each of the possible populations. This can be done e.g. using the program Admixture.
=Installation=
=Installation=


== Download ==
[http://www.popgen.dk/software/download/relateAdmix Download folder]
== Installation of R package ==
<pre>
<pre>
wget popgen.dk/software/NGSadmix/ngsadmix32.cpp
wget http://www.popgen.dk/software/download/relateAdmix/relateAdmix_0.05.tar.gz
g++ ngsadmix32.cpp -O3 -lpthread -lz -o NGSadmix
R CMD INSTALL relateAdmix_0.05.tar.gz
</pre>
</pre>


=Run example=
=Run example=
== Run example using R ==
After installing the package you can load it into R and try the example
<pre>
library(relateAdmix)
example(relate)
</pre>
This shows an example of how to use the package. More information can be found in the man pages
<pre>
?relate
</pre>

Latest revision as of 13:19, 21 August 2013

Software for inferring relatedness even if the individuals are admixed. To infer the relatedness you will need to known the individuals admixture proportions and the allele frequencies in each of the possible populations. This can be done e.g. using the program Admixture.

Installation

Download

Download folder

Installation of R package

wget http://www.popgen.dk/software/download/relateAdmix/relateAdmix_0.05.tar.gz
R CMD INSTALL relateAdmix_0.05.tar.gz

Run example

Run example using R

After installing the package you can load it into R and try the example

library(relateAdmix)
example(relate)

This shows an example of how to use the package. More information can be found in the man pages

?relate