Correlation in R | Pearson correlation coefficients with significance** , p-values and Heat map|

Поділитися
Вставка
  • Опубліковано 30 вер 2024

КОМЕНТАРІ • 69

  • @Guruprasad_A
    @Guruprasad_A  3 роки тому +4

    Hey, use adjusted means for genotypic correlations and original data for phenotypic correlations.

  • @nansophiahan1391
    @nansophiahan1391 2 роки тому +4

    I have absolutely zero coding experience previously and was really struggling with this, This video is FANTASTIC thanks a million!!

  • @ericzheng4815
    @ericzheng4815 2 роки тому +2

    What it takes a whole chunk of code and bunch of adjustments in Tableau only takes two lines in R. And I tried the code. It worked perfectly. Thank you dude!

  • @Yabuwelde
    @Yabuwelde 3 роки тому +2

    thank you, continue with others

  • @shubhamkumawat33
    @shubhamkumawat33 17 днів тому

    sir please share script

  • @favouritethings9363
    @favouritethings9363 2 роки тому +1

    Yes, thanks million times for simple and clear explanation.It saved me so much time doing my project.Many thanks

  • @deepikachandrasekaran3554
    @deepikachandrasekaran3554 3 роки тому +1

    Very useful and thank you so much sir... expecting more videos from you.

  • @sahrishkhan6833
    @sahrishkhan6833 3 місяці тому

    Anyone..do you have email ID of Sir, please share

  • @antonreinhold8478
    @antonreinhold8478 2 роки тому +1

    Thank you!

  • @pabolutejasree6359
    @pabolutejasree6359 8 місяців тому

    How to perform correlation network plots in R

  • @kariiamba7324
    @kariiamba7324 2 роки тому

    Thankyou very much. Was searching for this. You made it simple and informative.

  • @endrishussen5495
    @endrishussen5495 Рік тому

    Dear Mr. I'm in need of your support, I have a sort of data. so would you help me by analysing the correlation between variables by using R software is is because I'm getting a difficulty to understand it well.

  • @rukoochawla9714
    @rukoochawla9714 Рік тому

    How to calculate genotypic and phenotypic correlation with mean values

  • @collegeofhorticulturebidar7111

    How to do correlation and path analysis without replication in agumented design by R software

    • @Guruprasad_A
      @Guruprasad_A  Рік тому +1

      By taking the average values only you need to correlate.

  • @rahayupertiwi4299
    @rahayupertiwi4299 3 роки тому +1

    thanks

  • @drizharali
    @drizharali Рік тому

    I received this even i install the package
    Error: package or namespace load failed for ‘metan’ in loadNamespace(j

    • @Guruprasad_A
      @Guruprasad_A  Рік тому +1

      Install munsell package manually

    • @drizharali
      @drizharali Рік тому

      @@Guruprasad_A Thank you so much the video. is helpful.

  • @meliheser01
    @meliheser01 2 роки тому

    If i have a very large data with lots of variables. Can I just choose two variables with the variables codes?

    • @Guruprasad_A
      @Guruprasad_A  2 роки тому

      yup
      check the second example by asking the help in r studio.
      ?corr_coef

  • @vikrant549
    @vikrant549 Рік тому

    Why my color bar is reversed and how to correct it? Thanks.

  • @rwaewae
    @rwaewae 2 роки тому

    Hi, can we plot summary statistics and correlation plot in single diagram.? thanx

    • @Guruprasad_A
      @Guruprasad_A  2 роки тому

      You can do that in ggplot by taking the output values.

  • @mebratuify
    @mebratuify Рік тому

    Please also show us the spearman correlation analysis and heatmap graphs. Thanks

  • @gayatritehlan7135
    @gayatritehlan7135 Рік тому

    I want to change the font and number size of the corr plot, can you plz tell me the code?

    • @Guruprasad_A
      @Guruprasad_A  Рік тому

      Ask for the help in r studio by typing
      ?corr_plot
      after loading metan package.
      You will get to know about the code there itself.

  • @monzurmorshed.
    @monzurmorshed. 2 роки тому

    I have one question. If I use 'metan' package for correlation analysis, after correlation analysis what should I say? is it person or spearman correlation?

    • @Guruprasad_A
      @Guruprasad_A  2 роки тому

      It's Pearson correlation, what i have shown in the video.

  • @nehanaaz1485
    @nehanaaz1485 Рік тому

    How can we prepare data for the parameters of two different species?

  • @raylsonmello6742
    @raylsonmello6742 2 роки тому

    excellent class!
    can you provide the script?

  • @jostnadsouza6825
    @jostnadsouza6825 2 роки тому

    I wanted data

  • @surajshrestha9400
    @surajshrestha9400 2 роки тому

    how can we make the parameter "yield" in last column instead of middle in the plot?

    • @Guruprasad_A
      @Guruprasad_A  2 роки тому

      Unfortunately we can't customize that in metan.

  • @adityapratapsingh6068
    @adityapratapsingh6068 2 роки тому

    Sir, is there any way for obtaining Heatmap for Genotypic and phenotypic correlations from a replicated data, separately?

  • @mdbishalali7696
    @mdbishalali7696 Рік тому

    How can i change the color and method to circular?

    • @Guruprasad_A
      @Guruprasad_A  Рік тому

      ?corr_plot
      Ask for the help, you will get all the customisation that you can do.
      or you can check this video
      ua-cam.com/video/1e3PhugevPM/v-deo.html

  • @anilkhar
    @anilkhar 3 роки тому

    Do we use the average of replications for correlation or should we use the replicated data for correlation

    • @Guruprasad_A
      @Guruprasad_A  3 роки тому

      Using replications is better, the results will be similar to that of average, but not identical.

  • @girmahaile9514
    @girmahaile9514 3 роки тому

    can we use this correlation for one location agro-morphological data?

    • @Guruprasad_A
      @Guruprasad_A  3 роки тому

      Yes, you can use correlation to study the association between them.

  • @pranayreddy9147
    @pranayreddy9147 2 роки тому

    Sir, how can we can analyse the data for Phenotypic correlation with Replicated data and how to draw heat map for Phenotypic correlation?
    Please suggest me sir.

    • @Guruprasad_A
      @Guruprasad_A  2 роки тому

      Nothing is going to change, just use the data as it is with the replication and follow the steps shown in the video.

  • @nansophiahan1391
    @nansophiahan1391 2 роки тому

    I was wondering, when I print(corrl) I only seem to get the p-values and not the Pearson coefficients, how do I fix that?

    • @Guruprasad_A
      @Guruprasad_A  2 роки тому

      corrl$cor

    • @Guruprasad_A
      @Guruprasad_A  2 роки тому

      use the above code to find Pearson correlation coefficients

  • @deryaakpinar5412
    @deryaakpinar5412 2 роки тому

    Thanks for the video. Is there any way to change the color of the heat map, say from blue to green?

    • @Guruprasad_A
      @Guruprasad_A  2 роки тому +1

      ? corr_plot

    • @Guruprasad_A
      @Guruprasad_A  2 роки тому +1

      Ask for the help in r studio using above command after you load metan,
      you will find all the variables you can control

  • @rizwanasyed14
    @rizwanasyed14 2 роки тому

    For the data with control is irrigated and treatment (drought or any other treatment), how can we do correlation analysis in R?

    • @Guruprasad_A
      @Guruprasad_A  2 роки тому

      you can do the correlation between among traits within a particular group (control and treatment) and also between the particular trait between different groups ( irrigated yield and drought yield ) etc......

    • @Guruprasad_A
      @Guruprasad_A  2 роки тому

      just follow the same steps as shown in the video

  • @ritikalamichhane8666
    @ritikalamichhane8666 Рік тому

    Hey, how can I change the color of the plot?

    • @Guruprasad_A
      @Guruprasad_A  Рік тому

      Use help in the console by typing for more info.
      ?plot.corr_coef
      And in the function plot.corr_coef modify the below arguments.
      col.low = "red",
      col.mid = "white",
      col.high = "blue",

    • @ritikalamichhane8666
      @ritikalamichhane8666 Рік тому

      @@Guruprasad_A Thank you!

  • @monzurmorshed.
    @monzurmorshed. 2 роки тому

    Thank you for your lecture. How to use spearman correlation in R as my data are non-normally distributed. My other question is, do I have to log transform my data before doing the correlation analysis?

    • @Guruprasad_A
      @Guruprasad_A  2 роки тому

      Yup you can use cor() function in base R to calculate Spearman correlation
      corr(X-variable, Y-variable, method=("spearman"))

    • @samihahzura4735
      @samihahzura4735 2 роки тому

      @@Guruprasad_A I cannot plot the spearman correlation using this heat map. Can u show the code?

    • @是婧妹儿呀
      @是婧妹儿呀 2 роки тому

      would you share r code with spearman

    • @Guruprasad_A
      @Guruprasad_A  2 роки тому

      Yup you can use cor() function in base R to calculate Spearman correlation
      corr(X-variable, Y-variable, method=("spearman"))