-
Notifications
You must be signed in to change notification settings - Fork 4
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
Error with assign.X #11
Comments
Hi Emma, Thanks for your report. I just updated the function assign.X in the current repository. Could you try to update your package from the Github repo and see if the error would disappear? Thanks, |
Hi Alex, Thanks for looking at the issue so quickly. I was trying over the last few days to install the updated version from github but I'm having difficulties with that. Thanks, Emma |
Hi Alex, I managed to get access to the updated package and the issue I was having with assign.X has been resolved. Thanks, Emma |
Great. I am glad to know that the issue was solved. Best, |
Hi Alex,
I was hoping you would be able to help me with an error I'm getting when using assign.X please?
I am using non-genetic data only to try and assign my unknown individuals with the following code:
assign.X(Baselines, unknown, dir="Wavelet19/",
pca.method=TRUE, scaled = TRUE, model="randomForest")
But I receive the following error:
"Error in is.factor(x[, 1]) : object 'x' not found"
I have tried to look through the code for assign.X but I don't have enough experience in R to be able to understand it all. I have made sure the colnames for Baselines (x1) and unknown (x2) are the same apart from the pop column in x1, and they are both dataframes.
I ran older scripts, where assign.X has worked for me previously, but they are not working now. I have tried using different versions of R also, in response to the warning I got about the version of that assignPOP was built under, but this made no difference.
Any help would be really appreciated.
Thanks,
Emma
The text was updated successfully, but these errors were encountered: