VariablesSelection: Variables selection

Description Usage Arguments Value

View source: R/Spatialvariablesselection.r

Description

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.

Usage

1
2
3
4
5
6
7
VariablesSelection(
  Inputdata,
  classids,
  method = "OLS",
  lagdist = 5,
  xycoord = 0
)

Arguments

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

Value

regression coefficients and p-value for all variables


mridulaprasad/CorrDrugTumorMSI documentation built on Oct. 26, 2020, 5:45 a.m.