Description Usage Arguments See Also
Add centroids manually by picking X-ray counts of selected pixels in X-ray maps.
1 2 3 4 5 6 7 8 9 10 | add_centers(
centers,
xmap,
x = NULL,
y = NULL,
phase = if (is.null(x)) NULL else paste0("P", seq_along(x)),
i = data.frame(x, y, phase),
...,
saveas = "center_add.csv"
)
|
centers |
c-by-p matrix returned by |
xmap |
An object generated by |
x |
A n-by-p training data matrix; n observations and p features. Used to train the classifier. |
y |
Integer vectors specifying x- and y-coordinates of pixels of mapping data. In other words, x- and y- corresponds to n-th column and row of a matrix. |
phase |
Selected ones are referenced to detect outliers. Default selects everything.
Tidy selection is available. For example |
i |
A data frame with clumns |
... |
Ignored |
saveas |
File name to save result. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.