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

Error in ncol(snps.ori) : object 'snps.ori' not found #67

Open
jiyekwon opened this issue Dec 4, 2022 · 0 comments
Open

Error in ncol(snps.ori) : object 'snps.ori' not found #67

jiyekwon opened this issue Dec 4, 2022 · 0 comments

Comments

@jiyekwon
Copy link

jiyekwon commented Dec 4, 2022

Hi Caitie,

When I try to run the demo dataset as shown in vignette, I came across an error
Error in ncol(snps.ori) : object 'snps.ori' not found .
The same error was shown when I try to run it using my dataset as well. Is there a way to resolve this?

Below is the code I used for your reference:

data(snps)
data(phen)
data(tree)
data(snps.reconstruction)

out <- treeWAS(snps = snps,
                 phen = phen,
               tree = tree,seed = 1)

error message:
707 snps columns are over 50% NAs. You may want to consider removing these columns as they are unlikely to be significant and can generate inappropriate inferences during ancestral state reconstruction.Note: Updating n.snps.sim to match 10x the number of real loci after data cleaning. Input: 100060 --> Updated: 92300 [1] "treeWAS snps sim done @ 2022-12-04 01:14:47" Error in ncol(snps.ori) : object 'snps.ori' not found

Thank you!

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