| plot,DataGeNET.Psy,ANY-method | R Documentation |
DataGeNET.Psy objectThis functions llows to create a variety of plots for DataGeNEt.Psy
and JaccardIndexPsy objects.
## S4 method for signature 'DataGeNET.Psy,ANY'
plot(x, y,
layout = igraph::layout.fruchterman.reingold, type = "GDA network",
verbose = FALSE, ...)
x |
Object of class |
y |
NOT USED |
layout |
Function to design the location of the different nodes. By
default |
type |
Type of the drawn chart. By default it is |
verbose |
By default |
... |
(Check NOTE section) Passed to inner functions for different plots. |
A plot for DataGeNET.Psy.
The "Evidence Index" is gotten from PsyGeNET. For more information
about it and its calculation, pease visit psygenet.org.
Argument ... can be filled with specific argument depending on
the type of plot:
| Type | Argument | Color | Description |
| GDA network | geneColor | Yellow | Determines the color of the gene nodes |
| diseaseColor | Blue | Determines the color of the disease nodes | |
| GDA heatmap | highColor | Blue | Determines the color of the heatmap for the highest value |
| lowColor | White | Determines the color of the heatmap for the lowest value | |
| GDCA network | ei0color | Yellow | Determines the color for those associations with evidence index 0 |
| eiAmbiguitcolor | Grey | Determines the color for those associations with evidence index greater than 0 and lower than 1 | |
| ei1color | Blue | Determines the color for those associations with evidence index 1 | |
| GDCA heatmap | AUDcolor | #FF3C32 | |
| BDcolor | #FFC698 | ||
| DEPcolor | #9BE75E | ||
| SCHZcolor | #1F6024 | ||
| CUDcolor | #5AB69C | ||
| SIDEPcolor | #50B8D6 | ||
| CanUDcolor | #5467C3 | ||
| SYPSYcolor | #A654C3 | ||
| geneColor | Orange |
data(qr)
plot(qr) # for all-disease plot
plot(qr, type = 'GDCA network') # for MPI plot
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.