Description Usage Arguments Value
View source: R/Spatialvariablesselection.r
This function does variables selection using either spatial or non-spatial regression method. At the moment, function does variables selection for two class problem only where class of interest label as 2.
1 2 3 4 5 6 7 | VariablesSelection(
Inputdata,
classids,
method = "OLS",
lagdist = 5,
xycoord = 0
)
|
Inputdata |
ion intensity matrix |
classids |
class labels for variables selection |
method |
method used for variables selection, 'OLS', 'SL', 'SE'. |
lagdist |
the range of autocorrelation in spatial weight matrix for spatial methods |
xcord, ycord |
the xy co-ordinates of the MSI ion image |
maskimage |
exclude background pixels during variables selection |
regression coefficients and p-value for all variables
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.