treeWAS
treeWAS copied to clipboard
Error in ncol(snps.ori) : object 'snps.ori' not found
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!