getSignatureFromMultipleGlmnet {PathoStat} | R Documentation

## Use Lasso to do feature selection

### Description

Use Lasso to do feature selection

### Usage

    getSignatureFromMultipleGlmnet(df.input, target.vec, nfolds = 10,
      logisticRegression = TRUE, nRun = 100, alpha = 1)

### Arguments

`df.input` | Row is sample, column is feature. Required
`target.vec` | y vector. Required
`nfolds` | glmnet CV nfolds
`logisticRegression` | doing logistic regression or linear regression.
`nRun` | number of glmnet runs
`alpha` | same as in glmnet

### Value

signature

### Examples

    data('iris')
    getSignatureFromMultipleGlmnet(iris[,1:4],
    c(rep(1,100), rep(0,50)), nfolds = 3, nRun = 10)

[Package PathoStat version 1.14.0 Index]