R Series #21 Data Visualization: How to do Chord Diagram (Circular plot) using R -w/ the code-

  Рет қаралды 11,083

Bioinformatics for All

Bioinformatics for All

Күн бұрын

This video is a tutorial for programming in R Statistical Software for beginners and it's simply explained with a live workshop on RStudio.
In this video, you will learn how to do Chord Diagram in R
The codes are available on my R blog below:
bioinfo4all.wo...
The link for the paper:
doi.org/10.339...
#Learn R in a simple and systematic way
Share my videos, leave me a comment, and give me a Like! Either way, Thank You!

Пікірлер: 48
@dr.ozgekahramanilkkan3499
@dr.ozgekahramanilkkan3499 3 жыл бұрын
I have been searching for a month for this chord diagram... thanks a lot
@bioinformaticsforall901
@bioinformaticsforall901 3 жыл бұрын
You are welcome 😊
@prateekyadav7679
@prateekyadav7679 10 ай бұрын
Thank you for this tutorial. Is it possible to add more tracks to this chord diagram to convey additional information?
@ElisaJosefaGonzalezUgalde
@ElisaJosefaGonzalezUgalde 9 ай бұрын
Thank you so much for this video! I just want to ask, do you know if the figure of Soldatou et al. 2021, in order to have those "lines", was edited in Photoshop or something like that? My labels are very long and they get cutted, so i want to do something like that figure :(
@cecio2323
@cecio2323 3 жыл бұрын
Thank you very much, it was extremely useful!
@bioinformaticsforall901
@bioinformaticsforall901 3 жыл бұрын
You are very welcome Odette:) I am happy to hear that :)
@KN-tx7sd
@KN-tx7sd 3 жыл бұрын
can we add bar charts and heat maps to the chord diagram
@smraza9
@smraza9 3 жыл бұрын
Thankyou so much for this video you helped me alot. There is a correlation map that I am unable yo make and find way to make it can you make a tutorial for it. I can share the pubmed link to the article? I would be much obliged
@mohnadabdalla1207
@mohnadabdalla1207 10 ай бұрын
Thank you so much
@raheelshahzad1423
@raheelshahzad1423 2 жыл бұрын
Thank you so much for such a wonderful lecture. I would like to ask how you design your slides ? because your presentation is wonderful on slides. thank you once again 🏆
@altafhussainnarejo6685
@altafhussainnarejo6685 2 жыл бұрын
Could u tell me how to add more column file in excel CSV in R studio. I need you help.
@carlossalasmacias
@carlossalasmacias 2 жыл бұрын
Hello, thanks for the contribution, it has been very useful. I am working with species, I need the row labels to be italicized, how can I achieve this?
@Purnima_Chowdhury
@Purnima_Chowdhury 2 жыл бұрын
i cannot find chordDiagram in R.. Can anyone help
@santhanagopalakrishnangopa4650
@santhanagopalakrishnangopa4650 2 жыл бұрын
is there a function to reduce the chord diameter?, like make a small chord circle ,cuz my data names are lengthier !. Suggestions would be helpful.
@QuentinAndres06
@QuentinAndres06 3 жыл бұрын
amazing
@bioinformaticsforall901
@bioinformaticsforall901 3 жыл бұрын
Glad you think so!
@francescaf6903
@francescaf6903 3 жыл бұрын
Thank you so much for your video! Is there a way to only display the categories once on the plot? I have the same categories on the row and column names for the matrix. Is there a way to show only one set of categories? thank you!
@bioinformaticsforall901
@bioinformaticsforall901 3 жыл бұрын
Yes you can! If the row names and column names are the same, chordDiagram() function will show only one.
@francescaf6903
@francescaf6903 3 жыл бұрын
@@bioinformaticsforall901 awesome it worked, thank you so much!!!
@jaimeojedav
@jaimeojedav 2 жыл бұрын
@@bioinformaticsforall901 I have the same issue with categories that are the same in row and column, but the message says "Error in abs(mat) : non-numeric argument to mathematical function". Please, a help
@sajeevan81
@sajeevan81 3 жыл бұрын
Thank you very much for the video. I have an issue. I am not able to give the respective colors for my strain with the following. It is giving again random colors for my strains and the grey ones are showing in the diagram. Also, how to give the labels without the interconnecting (Organonitrogen.compound.biosynthetic.process) dots? Can you kindly help me? col = c(Magnum.bonum.18.hpi="#330033" , Désirée.18.hpi="#FF3300" , Kuras.18.hpi="#3399CC" , Organonitrogen.compound.biosynthetic.process = "grey" , Cellular.amide.metabolic.process = "grey" , Amide.biosynthetic.process = "grey" , Peptide.metabolic.process = "grey") .
@nehajha2312
@nehajha2312 3 жыл бұрын
Thanku so much, you made so easy. I want to ask about the genes and chromosome relation with disease. How we are going to represent it
@bioinformaticsforall901
@bioinformaticsforall901 3 жыл бұрын
You are welcome :) there are so many ways to visualize the data and its very difficult to tell you which way its the best without looking at the data, circular plots, pca and heatmaps are all good for such tasks.
@saphhire_tales
@saphhire_tales Жыл бұрын
> library(circlize) > data View(data) > data1 chordDiagram(data1) Error in abs(mat) : non-numeric argument to mathematical function Hi I am getting above error , can anyone help me plz
@judethaddeausadjei8989
@judethaddeausadjei8989 Жыл бұрын
Me too
@khanmohdsarim
@khanmohdsarim 2 жыл бұрын
I am getting this error when generating chordDiagram Error in abs(mat) : non-numeric argument to mathematical function
@saphhire_tales
@saphhire_tales Жыл бұрын
did you get the answer of this error?
@Dr.munna89
@Dr.munna89 3 жыл бұрын
Sir I have send an email to you about a problem I faced in chord diagram. I have used your code.
@hollyb1465
@hollyb1465 3 жыл бұрын
Hello, I am also getting an issue when trying to apply 'circos.trackPlotRegion(track.index = 2, panel.fun = function(x, y) { xlim = get.cell.meta.data("xlim") ylim = get.cell.meta.data("ylim") sector.name = get.cell.meta.data("sector.index")' I get an error message: 'Error: Incomplete expression:' Do you have any guidance on how to fix this? Thanks!
@bioinformaticsforall901
@bioinformaticsforall901 3 жыл бұрын
Without having the data is very difficult to know the problem. If you follow everything in the video and organized your data according to how I did it in the video, the code should work.
@hollyb1465
@hollyb1465 3 жыл бұрын
​@@bioinformaticsforall901 Hi! Its working now, I realised I wasn't running the whole expression at the same time - thank you so much your videos are very helpful
@bioinformaticsforall901
@bioinformaticsforall901 3 жыл бұрын
You are welcome Holly B :)
@azzeddinereghais7494
@azzeddinereghais7494 3 жыл бұрын
Please, I have an error with the following code when trying it #add the labels and axis circos.trackPlotRegion(track.index = 2, panel.fun = function(x, y) { xlim = get.cell.meta.data("xlim") ylim = get.cell.meta.data("ylim") sector.name = get.cell.meta.data("sector.index") I followed the same steps that I talked about I hope provide me a solution to this dilemma
@bioinformaticsforall901
@bioinformaticsforall901 3 жыл бұрын
Hi Azzeddine! I used the code yesterday. It was working fine. Can you tell me what R is returning when you fun the command above?
@azzeddinereghais7494
@azzeddinereghais7494 3 жыл бұрын
@@bioinformaticsforall901 A "X" sign appears there on the left It does not apply the code I guess the problem is in copying the code Kindly rewrite me here in the comment Thank you
@azzeddinereghais7494
@azzeddinereghais7494 3 жыл бұрын
Well explanation and great job, I hope there are videos explaining how to apply it in PCA CAH
@bioinformaticsforall901
@bioinformaticsforall901 3 жыл бұрын
Thank you Azzeddine :) I will look into it if I can do it, otherwise you can find such tutorial on other KZbin channel.
@azzeddinereghais7494
@azzeddinereghais7494 3 жыл бұрын
@@bioinformaticsforall901 The way you explain it is really simple. I would love to follow you I wish you all the best
@bioinformaticsforall901
@bioinformaticsforall901 3 жыл бұрын
Thank you Azzeddine:)
@zeinabourhane874
@zeinabourhane874 3 жыл бұрын
Thank you :)
@bioinformaticsforall901
@bioinformaticsforall901 3 жыл бұрын
You are welcome Zeina :)
@zeinabourhane874
@zeinabourhane874 3 жыл бұрын
Hello, my first col is the code of genes ( i have 240) the second col is the function of each gene ( i have in total 10 differents functions), is there a way to plot the functions ?? because if remove the first col, i will have a row names repetition in my data set.
@bioinformaticsforall901
@bioinformaticsforall901 3 жыл бұрын
One idea is to color those that have same function with same color so you can write in the explanation for example: Purple color are genes responsible for apoptosis.
Каха и дочка
00:28
К-Media
Рет қаралды 3,4 МЛН
She made herself an ear of corn from his marmalade candies🌽🌽🌽
00:38
Valja & Maxim Family
Рет қаралды 18 МЛН
黑天使只对C罗有感觉#short #angel #clown
00:39
Super Beauty team
Рет қаралды 36 МЛН
BAYGUYSTAN | 1 СЕРИЯ | bayGUYS
36:55
bayGUYS
Рет қаралды 1,9 МЛН
CIRCOS on Windows : 01- Installation
6:26
StupidBio
Рет қаралды 10 М.
Chord Diagrams
8:04
Dr. Shahin Rostami
Рет қаралды 10 М.
Gene ontology Chord #genomewidestudy #go #geneontology
13:15
Genome Wide Study
Рет қаралды 1,7 М.
How to Create Heatmaps in R with the geom_tile() and heatmap() functions.
20:13
Dendrogram Phylogram Data Visualization Tutorial
17:01
mighster
Рет қаралды 10 М.
Learn R in 39 minutes
38:56
Equitable Equations
Рет қаралды 817 М.
How to draw circos plot without coding?
4:27
Dr. Asif's Mol. Biology
Рет қаралды 7 М.
Каха и дочка
00:28
К-Media
Рет қаралды 3,4 МЛН