Structure: not found
2
0
Entering edit mode
16 months 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 • 536 views
ADD COMMENT
1
Entering edit mode
16 months ago
Dave Carlson ★ 1.7k

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
16 months ago
Jack Tierney ▴ 350

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: 2226 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