Description Usage Arguments Details Value Examples
Splits up samples by sample type. Displays each region set in a different subplot. If you only want to plot certain region sets, subset with the 'featID' parameter.
1 2 | plotMIRAScores(scoreDT, featID = unique(scoreDT[, featureID]),
colBlindOption = FALSE)
|
scoreDT |
A datatable with the following columns: score, featureID (names of region sets), ideally include 'sampleType'. |
featID |
Region set name/names in a single string or vector of strings. |
colBlindOption |
If TRUE, function will plot with a color blind friendly palette which could be helpful when plotting multiple colors. |
Due to the limited number of colors in the palette, a warning will be issued if there are too many (more than 9) region sets ('featureID's).
a plot of class "gg"/"ggplot" that shows MIRA scores with geom_boxplot and geom_jitter (or geom_violin instead of boxplot if no sampleType column is given).
1 2 3 4 5 6 | data(bigBinDT2)
exScores <- calcMIRAScore(bigBinDT2)
# adding annotation
sampleType <- rep(c("Ewing", "Muscle-related"), each = 24)
exScores <- cbind(exScores, sampleType)
exScorePlot <- plotMIRAScores(exScores)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.