plotSegmentProjection: Plot a projection representation

Description Usage Arguments Value Examples

View source: R/visualisation.R

Description

Create a projection representation of the spherical data

Usage

1
2
plotSegmentProjection(segmentationCSV, plotRows, projection = "aitoff",
  col = "red", singlePlot = TRUE, nsims = 1000)

Arguments

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.

projection

The type of projection to be used. Can be any of those used by mapproject in the package mapproj.

col

A character string to indicate the colour of the heat mapping.

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 plotted on a projected representation of the sphere. Required columns are:

  1. UpDown.median

  2. UpDown.mad

  3. Degrees.median

  4. Degrees.mad

Value

There is no return to the console. As a side effect a graphic is created.

Examples

1
2
3
4
5
6
## Not run: 
segmentationCSV = system.file("data", "SegData.csv", package = "GENEAsphere")
plotRows = c(1:1)
plotSegmentProjection(segmentationCSV, plotRows, projection = "aitoff", 
                    col = "red", singlePlot = TRUE, nsims = 1000)
## End(Not run)

GENEAsphere documentation built on Dec. 5, 2019, 5:11 p.m.