wegene-llc / radmixture

an R package for ancestry analysis
https://CRAN.R-project.org/package=radmixture
Other
37 stars 18 forks source link

Unable to download the public dataset #6

Open massub opened 4 years ago

massub commented 4 years ago

Hi all, I am unable to download the public data set with the location available in the help,

I get the following error:

Error in download.file(url = "https://github.com/wegene-llc/radmixture/raw/master/data/globe4.4.F.RData", : cannot open destfile '/path/to/globe4.4.F.RData', reason 'No such file or directory'

can anyone help please? Thank you in advance.

Massub.

tomatoiscoding commented 4 years ago

Hi Massub, You should change /path/to to your own path...

Beilei

massub commented 4 years ago

Dear Beilei, Thank you very much for your kind reply. I was able to download the data files. I have one more quick question please, below is a sample of my structure input file in order to load the data into R do I need to add the extension .str at the end of this file? or there is another way to export structure input file to be used in the radmixture package?

Your help will be highly appreciated. Thank you again.

Massub.

Sample Structure and fastStructure.txt

tomatoiscoding commented 4 years ago

You don't need to add .str. It can be read correctly as long as it's a plain text file.