lmc297 / bactaxr Goto Github PK
View Code? Open in Web Editor NEWBacterial taxonomy construction and evaluation in R
Bacterial taxonomy construction and evaluation in R
Hi,
I met some issue when I tried to install your package. I tried to use source, but I met another issues.
Thanks for your help!
R version 3.6.0 (2019-04-26)
install_github("lmc297/bactaxR")
Downloading GitHub repo lmc297/bactaxR@master
Skipping 1 packages not available: ggtree
checking DESCRIPTION meta-information ...6/m7k540fd0hq9bbhdzxshn2h40000gn/T/Rtmp8b2FOu/remotes140dd92d41db/lmc297-bactaxR-57fa45b/DESCRIPTION’ ...
Does it represent the ANI of that pair?
Or does edge weight represent the ANI?
Thank you!
I have successfully ran the package to generate a histogram, however when I am trying to generate the dendrogram I ran into the following error:
summary(ani)
An object of class bactaxRObject
Number of genomes: 60
Total number of pairwise ANI comparisons: 2231
h
dend <- ANI.dendrogram(bactaxRObject = ani, ANI_threshold = 94.2, xline = c(4,5,6,7.5), xlinecol = c("#ffc425", "#f37735", "deeppink4", "black"), label_size = 0.5)
Error in hclust(d = d.dist, method = "average") :
NA/NaN/Inf in foreign function call (arg 10)
I have checked my ani input does not contain any NA/NaN/Inf.
Please kindly help, thanks in advance.
Hello,
Thank you so much for developing and sharing this tool! I am trying to make a tree from fastANI pairwise data. After successfully importing the txt file, I received the following error when I ran dend <- ANI.dendrogram(bactaxRObject = ani, ANI_threshold = 95) on my dataset:
Error in hclust(d = d.dist, method = "average") :
NaN dissimilarity value.
I double-checked that my data dose not contain any NAs by running
is.na(ani@ANI)%>%sum()
[1] 0
I am just wondering if you have any insight on how to fix this and it seems like that the hclust command introduces some NAs. Thank you.
Best,
Jessi
I have the same problem of this R script.
summary(ani)
An object of class bactaxRObject
Number of genomes: 33
Total number of pairwise ANI comparisons: 1086> h <- ANI.histogram(bactaxRObject = ani, bindwidth = 0.1)
h
dend <- ANI.dendrogram(bactaxRObject = ani, ANI_threshold = 95, xline = c(4,5,6,7.5), xlinecol = c("#ffc425", "#f37735", "deeppink4", "black"), label_size = 0.5)
I did this one exactly but I get the error message.(Error in hclust(d = d.dist, method = "average") : NA/NaN/Inf in foreign function call (arg 10))
Also, I check the file and I can't find the NA/NaN/Inf
I don't understand what the NA/NaN/Inf mean,
Can you solve this problem, please.
dear @lmc297
First off, great package!!! I have been able to use this package and I am very happy with the results obtained.
Nevertheless, I was wondering if there is a way to extract the resulting dendrogram from the ANI.dendrogram function. I would be interested in furhter editing this dendrogram.
Cheers,
Pablo
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.