Description Usage Arguments Value Examples
View source: R/visualisation.R
Create a flat representation of the spherical data.
1 2 3 | plotSegmentFlat(segmentationCSV, plotRows, col = c("white",
heat.colors(5, alpha = c(0.3, 0.2, 0.1, 0.05, 0.03))),
singlePlot = TRUE, nsims = 1000)
|
segmentationCSV |
The file path to the csv file created from the segmentation process containing all features. |
plotRows |
The rows from the csv file to be used to simulate plotting data. |
col |
A vector of colours. |
singlePlot |
(logical) Indicates wether all rows should be added to one plot. |
nsims |
The number of simulated values to plot. (Default = 1000 however, if your computer has little RAM reduce this) @details This function takes the features from the segmentation procedure and uses them to simulate data for elevation and rotation. This data is then plot on a flat representation of the sphere. Required columns are:
|
There is no return to the console. As a side effect a graphic is created.
1 2 3 4 5 6 7 | ## Not run:
segmentationCSV = system.file("data", "SegData.csv", package = "GENEAsphere")
plotRows = c(1:5)
plotSegmentFlat(segmentationCSV, plotRows,
col = c("white", heat.colors(5, alpha = c(0.3, 0.2, 0.1, 0.05, 0.03))),
singlePlot = TRUE, nsims= 1000)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.