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

assign.matrix() #3

Open
sunnvor opened this issue Mar 8, 2018 · 7 comments
Open

assign.matrix() #3

sunnvor opened this issue Mar 8, 2018 · 7 comments
Labels

Comments

@sunnvor
Copy link

sunnvor commented Mar 8, 2018

Hi
I have used assignPOP to assign my samples to populations using genetic data only. The package is very easy to use and the tutorials are great. However, I am having troubles with the assign.matrix function. When I try to use it I get the following error: "Error: could not find function "assign.matrix"". I checked the help page for assignPOP and this function is not listed there. So I tried to search online for a package with this function, but couldn't find any.
Is this function missing from the package or do I need to install some other package that I have missed?

@alexkychen
Copy link
Owner

Hi, Thank you for using our assignPOP package.
Could you check which version you're using? The function "assign.matrix" was added in the latest version 1.1.3. If you're using a previous version (1.1.2 or earlier), please consider to update the package to 1.1.3 to access the function. Please let me know if you have further questions. Thank you!

@sunnvor
Copy link
Author

sunnvor commented Mar 8, 2018

I am using assignPOP_1.1.3. I was using an older version of R, but have update it now. I still get the error "could not find function "assign.matrix"".

@alexkychen
Copy link
Owner

Thank you for your report. Somehow the version 1.1.3 on CRAN was not successfully updated (yes, assign.matrix is not there). I am trying to fix it but it may take a while. At this time, you can try to re-install the package from here - use install_github("alexkychen/assignPOP"), or copy the function assign.matrix from this page and run it in your console. As such, you can call the function locally. If you choose to re-install the package from Github, you might need to make sure other dependent packages were also successfully installed. Sorry for the inconvenience.

@sunnvor
Copy link
Author

sunnvor commented Mar 9, 2018

Thanks. I copied the function and it worked lovely.

@alexkychen
Copy link
Owner

Hi, a new version (1.1.4) has been uploaded to CRAN. Now you should be able to update your assignPOP and use the function assign.matrix. Please give it a try and let me know if it works. Thanks!!

@sunnvor
Copy link
Author

sunnvor commented Mar 14, 2018

Hi
Updated to version 1.1.4 and assign.matrix works now.
Cheers!

@alexkychen
Copy link
Owner

Great! Thanks for letting me know!!

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

No branches or pull requests

2 participants