Circos plot 2
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 | CircosPlot2(
LRscorematrix,
LRscore_conditions,
L_cluster,
R_cluster,
LR_cluster,
WhichLRscore,
color_L,
color_R,
color_LR,
width_same_ligand_cluster,
width_different_ligand_cluster,
width_ligand_receptor,
width_same_receptor_cluster,
width_different_receptor_cluster,
cplotthresh,
cex
)
|
LRscorematrix |
A matrix with columns "ligand", "receptor" and the condition names where the condition columns contain the LRscores of each ligand-receptor pairs in each condition. |
LRscore_conditions |
A vector of conditions to be used when calculating the maximum or mean LR expr_score for each LR pair acorss conditions |
L_cluster |
The predefined vectors of L, R and LRpair clusters. |
R_cluster |
The predefined vectors of L, R and LRpair clusters. |
LR_cluster |
The predefined vectors of L, R and LRpair clusters. |
WhichLRscore |
The LR expr_score to be used in the plot, which is 'LRscore_max' (for each LR pair, the maximum LR expr_score across LRscore_conditions) or 'LRscore_mean' (for each LR pair, the average LR expr_score across LRscore_conditions). |
color_L |
A vector of colors of the ligand clusters, with the name of each element the name of the corresponding cluster |
color_R |
A vector of colors of the receptor clusters, with the name of each element the name of the corresponding cluster |
color_LR |
A vector of colors of the LR clusters, with the name of each element the name of the corresponding cluster |
width_same_ligand_cluster |
Gap width between ligand nodes in the same cluster |
width_different_ligand_cluster |
Gap width between different ligand clusters |
width_ligand_receptor |
Gap width between the ligand nodes and the receptor nodes |
width_same_receptor_cluster |
Gap width between receptor nodes in the same cluster |
width_different_receptor_cluster |
Gap width between different receptor clusters |
cplotthresh |
A number. Only plot L-R edges in the circos plot with LRscore > cplotthresh |
cex |
Font size |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.