Structure: not found
2
0
Entering edit mode
8 weeks ago
Mariana • 0

Hello everyone.

Today I'm trying to do an population analysis using the structure software in R Studio, but I have a problem executing the software.

enter image description here

You can see in downstairs the error "structure: not found"

I hope that someone can help me.

Structure Studio R • 237 views
ADD COMMENT
1
Entering edit mode
8 weeks ago
Dave Carlson ★ 1.2k

You need to tell ParallelStructure where to find the executable for the STRUCTURE program. There is a flag (structure_path) that you can use to tell ParallelStructure which directory contains the STRUCTURE executable.

Of course this means that you also need to make sure that you have downloaded and installed STRUCTURE as well.

ADD COMMENT
0
Entering edit mode
8 weeks ago
Jack Tierney ▴ 280

According to the example for this function in the docs, this option with structure_path = NULL is for when "You have added the path of STRUCTURE executable into /usr/local/bin". First step would be to ensure that this executable is at that path.

Alternatively, you can pass the path to the executable as a string to structure_path.

(as Dave said. That answer hadn't loaded when I wrote the reply :))

ADD COMMENT

Login before adding your answer.

Traffic: 3081 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6