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

Data conversion #19

Open
jcberny opened this issue Apr 29, 2021 · 2 comments
Open

Data conversion #19

jcberny opened this issue Apr 29, 2021 · 2 comments

Comments

@jcberny
Copy link

jcberny commented Apr 29, 2021

Hi there, I have genind and tried using genind2genpop, converting the file into a "formal class genepop". However, when trying running assign.MC it gives me the error "this S4 class is not subsettable". Would you have more suggestions about the data conversion? Thanks in advance.

@alexkychen
Copy link
Owner

Hi, you can use either a Genepop or Structure format text file to import the data for analyses (see functions read.Genepop and read.Structure). The assignPOP package currently does not support the data converted via adegenet package.

@jcberny
Copy link
Author

jcberny commented May 3, 2021

Thanks. However I´m having issues to get my dataset to Genepop or Structure format. I have a matrix of columns of samples and SNP calls. Would you recommend anything to convert this to Genepop?
Thanks again

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

2 participants