View source: R/visualization.R
plotFragHeatmap | R Documentation |
plotFragHeatmap
: plot fragility heatmaps with electrodes marked as soz colored
plotFragQuantile
: Plot Fragility time quantiles for two electrodes group marked as SOZ and reference
plotFragQuantile
: Plot Fragility time distribution for two electrodes group marked as SOZ and reference
plotFragHeatmap(frag, sozIndex = NULL)
plotFragQuantile(frag, sozIndex = NULL)
plotFragDistribution(frag, sozIndex = NULL)
frag |
Fragility object from |
sozIndex |
Integer or string. A group of electrodes to mark as in the Seizure Onset Zone (SOZ) |
A ggplot object
data("pt01EcoG")
## sozIndex is the index of the electrodes we assume are in the SOZ
sozIndex <- attr(pt01EcoG, "sozIndex")
## precomputed fragility object
data("pt01Frag")
## plot the fragility heatmap
plotFragHeatmap(frag = pt01Frag, sozIndex = sozIndex)
## plot the fragility quantiles
plotFragQuantile(frag = pt01Frag, sozIndex = sozIndex)
## plot the fragility distribution
plotFragDistribution(frag = pt01Frag, sozIndex = sozIndex)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.