Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

readQTess3() Returns Only First K Replicate #95

Open
georgeomics opened this issue May 3, 2024 · 0 comments
Open

readQTess3() Returns Only First K Replicate #95

georgeomics opened this issue May 3, 2024 · 0 comments

Comments

@georgeomics
Copy link

When attempting to use the readQTess3() function, I am only receiving a qlist with data from the 1st replicate run for my data. My tess3.obj file, however, has data for all 10 reps. Below shows the code that generates that object:

tess3.obj <- tess3(X=data,
                   coord=as.matrix(coo),
                   K=1:10, 
                   rep=10,
                   max.iteration=500000, 
                   method="projected.ls", 
                   ploidy=2, 
                   openMP.core.num=16, 
                   keep="all") # which result to keep for each value of k.

However, the tlistK object generated with the following has data equal to only the first run in the tess3.obj for each K (instead of 10 runs for each K).

tlist <- readQTess3(t3list = tess3.obj, progressbar = FALSE)

I have used the readQ function with STRUCTURE files which worked successfully and gave me a qlist with 10 runs for each K, so I was surprised by the readQTess3 output. Any help is greatly appreciated!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant