plotCandidateFrame {scalpel} | R Documentation |
Plot preliminary dictionary element from Step 1 of SCALPEL and its corresponding frame.
Description
We plot the specified preliminary dictionary element, along with the frame of Y from which the component was derived in Step 1 of SCALPEL.
Usage
plotCandidateFrame(
scalpelOutput,
AzeroIndex = NULL,
AIndex = NULL,
AfilterIndex = NULL,
member = NULL,
videoType = "processed",
shrinkLargest = FALSE,
shrinkCutoff = NULL,
Y = NULL
)
Arguments
scalpelOutput |
An object returned by one of the SCALPEL functions:
|
AzeroIndex |
The preliminary dictionary element of interest. The index refers to the column of |
AIndex |
The dictionary element (i.e., cluster) of interest. The index refers to the column of |
AfilterIndex |
The sparse group lasso component of interest. The index refers to the column of |
member |
Which member of the cluster corresponding to |
videoType |
Specify whether to plot the processed data from Step 0 (default; |
shrinkLargest |
Logical value indicating whether the values above |
shrinkCutoff |
The value above which pixel values will be shrunk. By default, this will be chosen as
|
Y |
An object of class |
Value
None
See Also
Examples
## Not run:
### many of the functions in this package are interconnected so the
### easiest way to learn to use the package is by working through the vignette,
### which is available at ajpete.com/software
#assumes you have run the example for the "scalpel" function
#simplest example with default parameters:
plotCandidateFrame(scalpelOutput = scalpelOutput, AzeroIndex = 10)
#example with optional parameters:
#plot raw data instead of processed
plotCandidateFrame(scalpelOutput = scalpelOutput, AzeroIndex = 10, videoType = "raw")
#same plot but if you have video data read in already
#using 'getY' function, you can provide it
rawY = getY(scalpelOutput = scalpelOutput, videoType = "raw")
plotCandidateFrame(scalpelOutput = scalpelOutput, AzeroIndex = 10, Y = rawY)
## End(Not run)