plaquePicker | R Documentation |
Separate stack of ion images into separated single-objects.
plaquePicker( ionImages, coord, method = c("tpoint", "geometric", "peak"), fixedThreshold = NULL, binMatrix = NULL, addIonImages = NULL, ... )
ionImages |
array of ion images as returned by |
coord |
array of coordinates as returned by |
method |
character, method to use for binarization. If set to "peak" the threshold is set to 0 so each signal will be counted as valid. Make sure you set the tolerance for the ion images right and used actual peak data to generate the ion images. |
fixedThreshold |
numeric, if not NULL (default) overwrites |
addIonImages |
array of ion images as returned by |
binMatirx |
binary matrix, if provided it overwrites |
A list, on the top level the list contains one entry per provided ion image with
conComp
matrix, with same dimensions as the provided ion image and IDs assigned to pixels belonging to the same separate single-object.
binMat
matrix, of ion image binarized by tpoint
-function.
threshold
numeric, the threshold estimated by tpoint
-function.
spectraIdx
list of integer vectors containing the indecies of the spectra in the list of MALDIquant::massObject
.
Also, there is another entry called unified
: The result of all binarized ion images combined.
In addition to conComp
, binMat
, and spectraIdx
that contain the equivalent matrices of the unified data as described above this entry contains the following:
intensities
list of lists containing the intensities of the corresponding pixels for the provided ion images
pp <- plaquePicker(NLGF67w_mouse1_rep1, coord = NLGF67w_mouse1_rep1_coord)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.