Thank you a lot for this video. I did everything definitely the same, but when I pressed "run" for plot I didn't have a plot with red and blue dots. It's just empty field. After I pressed "run" for ordispider and I got the line in different directions but without red or blue dots. Could you please tell me what I did wrong ?
Hello, internal R code had recently been changed. I therefore rewrote the script using ggplot for visualization. You can find the updated script here: rstatisticsandresearch.weebly.com/nonmetric-multidimensional-scaling-nmds.html
You did a fantastic job explaining this. Thanks for helping with my r-stat homework! I have proven that cougars found in boreal forests have a different environmental features in comparison to cougars found in prairie habitat. Yes, it is very obvious which makes it excellent practice data.
This is absolutely amazing! You have clarified a problem that I have been struggling to understand for months. I was so close to scrapping this analysis from my thesis. You are a hero!
I am a master student in Tel Aviv University and this video has helped me more than anyone here, thanks for your submission, I will immediately subscribe to your channel.
Hi, thanks for the video! I was hoping to use ANOSIM and SIMPER but have trouble finding any tutorials. Is there any reason why you chose adonis instead? I tried adonis2 once on my data, and it was absolutely terrible, while anosim was significant (but I'm not sure if I ran either of them correctly. I suspect that I didn't meet the assumptions for the permanova). But I also am having trouble figuring out how to interpret the ANOSIM results. :(
Sir, Thank you so much for this well-explained tutorial on NMDS. I tried to do it with my data and successfully did up to NMDS calculation. when I ran the code datascores
I can use Euclidean distance instead of Bray Curtis... I told you this because I was trying to do with an abundance base but at the time of running NMDS I was not able to do it. (mnds
Hi I am trying this tutorial with my data set But in trying to plot the ordination, an error message is displayed "x and y length differ" What does mean that? Thanks in advance for your reply.
Hello, I am following along but am getting the error - in if (autotransform && xam > 50) { : missing value where TRUE/FALSE needed. I have no NAs or blank cells in my dataset. Can anyone help me with this?
I tried the code with my data and the figures generated were nice, however for the assumption of homogeneity of multivariate dispersion, I got an extremely small p-value, what I am supposed to do to modify it? Please give me some advice! Thank you!
Hello, this happens sometimes, and cannot always be solved. However, you could try to transform your input matrix prior to analysis, e.g. square root transformation to downsize larger values.
If your permanova is significant and permadisp is not then their is location effect and if both of them are significant then their is surely dispersion effect and might (not always ) have location effect.
Hello Sir, l am trying this Tutorial with my data set. I keep on getting the error input must be numeric when l try the ordination. I have checked all all the data and all seems fine. Wanted to ask if u have faced such an issue and how u got around it.
Most likely R will think that one of your columns is not numeric. So, select your input datamatrix, and type and run the code str(dataname) to find out which one it is (note that you need to replace [datanama] with the name of your dataset). When you have found the particular column, then type dataname$columnname -> as.numeric(dataname$columnname) (again replacing with the actual names of your dataset and the corresponding column name).
Hello, internal R code had recently been changed. I therefore rewrote the script using ggplot for visualization. You can find the updated script here: rstatisticsandresearch.weebly.com/nonmetric-multidimensional-scaling-nmds.html
I am not a pro in R, so I don´t know if it works for you too... But with "with" after the normal plotting you can ink some communities/species. veg.mds
Hello, internal R code had recently been changed. I therefore rewrote the script using ggplot for visualization. You can find the updated script here: rstatisticsandresearch.weebly.com/nonmetric-multidimensional-scaling-nmds.html
@@pgpsp41 Thank you for y our time, i ll try the main script first and if it won't work, i ll try yours! Your's seems a little complicated, this is why i ll let it as my final choice
Thank you a lot for this video.
I did everything definitely the same, but when I pressed "run" for plot I didn't have a plot with red and blue dots. It's just empty field. After I pressed "run" for ordispider and I got the line in different directions but without red or blue dots. Could you please tell me what I did wrong ?
Hello, internal R code had recently been changed. I therefore rewrote the script using ggplot for visualization. You can find the updated script here:
rstatisticsandresearch.weebly.com/nonmetric-multidimensional-scaling-nmds.html
@@RStatisticsandResearch perfect, thank you very much!
hi, i got error while convert to data frame 🙏@@RStatisticsandResearch
You did a fantastic job explaining this. Thanks for helping with my r-stat homework! I have proven that cougars found in boreal forests have a different environmental features in comparison to cougars found in prairie habitat. Yes, it is very obvious which makes it excellent practice data.
This is absolutely amazing! You have clarified a problem that I have been struggling to understand for months. I was so close to scrapping this analysis from my thesis. You are a hero!
I am a master student in Tel Aviv University and this video has helped me more than anyone here, thanks for your submission, I will immediately subscribe to your channel.
hey, im planning on interning at tel aviv university next year, mind if we talk about the university a little ?
@@megha7564 sure but please do consider other places too ♡ write to me in youtube chat before they take it off
Thank you so much! This the best instruction so far for NMDS!
Thank you a lot. This will help me to pursue my studies.
Hi, thanks for the video! I was hoping to use ANOSIM and SIMPER but have trouble finding any tutorials. Is there any reason why you chose adonis instead? I tried adonis2 once on my data, and it was absolutely terrible, while anosim was significant (but I'm not sure if I ran either of them correctly. I suspect that I didn't meet the assumptions for the permanova). But I also am having trouble figuring out how to interpret the ANOSIM results. :(
This was exactly what I was needing. Thank you so much!
Great video! very clear and well explained! thanks! What if you have n groups instead of 2 (habitats)?
Such a great video thank-you!! do you know what i'd do to change the points to three colours instead of two?
I am trying to do this for 9 different habitat types (sites), how would I do this?
Hello, in exactly the same manner (just add more factor names to your factor column (here "habitat").
I got the visual using my own data. thanks!
will you also do for other multivariate analysis like PCA, CA, PCO etc?
In case anyone else is trying the updated script but still getting the same error as me for
> datascores
This is best tutorial. Very simple to understand. Thank you.
Sir, Thank you so much for this well-explained tutorial on NMDS.
I tried to do it with my data and successfully did up to NMDS calculation.
when I ran the code
datascores
Hello! i have the same problem..were you able to solve it?
I also have this problem.
Hello! i have the same problem..were you able to solve it?
Amazing stuff! Very helpful and understandabe.
Thanks!
The best tutorial ...thanks a ton
I can use Euclidean distance instead of Bray Curtis... I told you this because I was trying to do with an abundance base but at the time of running NMDS I was not able to do it.
(mnds
Thank you so much. Your work definitely helps me a lot.
How sweet! Thank you so much for this explanation. Very clear. :)
Very well explained, than you
Thank you so much for this video!!!
I can't seem to retrieve scores when using as.data.fram() function. Why is that so?
This is a great tutorial. Thank you for making this video.
Hi thank you very much for this, have tried it with my own data but when I visualised it no points came up, do you know why this might be the case?
I am experiencing the same problem. I have tried editing the code but to no avail.
How to choose the number of permutations if n=24 ?
Hi
I am trying this tutorial with my data set
But in trying to plot the ordination, an error message is displayed "x and y length differ"
What does mean that?
Thanks in advance for your reply.
Hello, I am following along but am getting the error - in if (autotransform && xam > 50) { :
missing value where TRUE/FALSE needed. I have no NAs or blank cells in my dataset. Can anyone help me with this?
Thanks for your instructions. May you help me with adding name of centroids in the new version of your code... Once more, so much Thanks...
The plots/samples with 0 species, shall they be part of the matrix?
Thanks for this amazing video.
I tried the code with my data and the figures generated were nice, however for the assumption of homogeneity of multivariate dispersion, I got an extremely small p-value, what I am supposed to do to modify it? Please give me some advice! Thank you!
Hello, this happens sometimes, and cannot always be solved. However, you could try to transform your input matrix prior to analysis, e.g. square root transformation to downsize larger values.
I tried but every time I'm getting xy.coords have different lengths please help me
Me too
@@sandrezzalima7661 This happened to me to but then it worked when I copy and pasted his exact script, I was obviously writing it wrong.
This suggests that there is an error in the format of your input file. Indeed, copy-paste my file (and add in your data), and it should work.
Is it possible to show the species name in the plot?
I have a question. what can I do if I do not met the assumptions of the Permanova?
If your permanova is significant and permadisp is not then their is location effect and if both of them are significant then their is surely dispersion effect and might (not always ) have location effect.
I LOVE YOU.. you just saved my paper.. i could kiss you right now
Hello Sir, l am trying this Tutorial with my data set. I keep on getting the error input must be numeric when l try the ordination. I have checked all all the data and all seems fine. Wanted to ask if u have faced such an issue and how u got around it.
Most likely R will think that one of your columns is not numeric. So, select your input datamatrix, and type and run the code str(dataname) to find out which one it is (note that you need to replace [datanama] with the name of your dataset). When you have found the particular column, then type dataname$columnname -> as.numeric(dataname$columnname) (again replacing with the actual names of your dataset and the corresponding column name).
O meu está dando um erro fatal
Hello, I follow the tutorial, but I cannot get the plot. Can I send my my data for your reference?
Hello, internal R code had recently been changed. I therefore rewrote the script using ggplot for visualization. You can find the updated script here:
rstatisticsandresearch.weebly.com/nonmetric-multidimensional-scaling-nmds.html
Is there anyway to get blue/red again? I am trying to run the command but i get the solution with every item being black
I am not a pro in R, so I don´t know if it works for you too... But with "with" after the normal plotting you can ink some communities/species.
veg.mds
Hello, internal R code had recently been changed. I therefore rewrote the script using ggplot for visualization. You can find the updated script here:
rstatisticsandresearch.weebly.com/nonmetric-multidimensional-scaling-nmds.html
@@RStatisticsandResearch Thank you for that, is there anyway that we can display the names of the dots in the plot?
@@pgpsp41 Thank you for y our time, i ll try the main script first and if it won't work, i ll try yours!
Your's seems a little complicated, this is why i ll let it as my final choice
can you please provide the link to download the dataset
The link can be found below the video!
The fonts are so small 😔
Thank you very much for this video, it's really interesting. Can I have your email?