lassoClass: Classify using the Lasso

Description Usage Arguments Value Author(s) References See Also Examples

View source: R/lassoClass.R

Description

Classify using the Lasso

Usage

1
lassoClass(object, groups)

Arguments

object

object containing the expression measurements; currently the only method supported is one for ExpressionSet objects

groups

character string indicating the column containing the class membership

Value

object of class glmnet

Author(s)

Willem Talloen

References

Goehlmann, H. and W. Talloen (2009). Gene Expression Studies Using Affymetrix Microarrays, Chapman \& Hall/CRC, pp. 183, 205 and 212.

See Also

glmnet

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
if (require(ALL)){
  data(ALL, package = "ALL")
  ALL <- addGeneInfo(ALL)
  ALL$BTtype <- as.factor(substr(ALL$BT,0,1))

  resultLasso <- lassoClass(object = ALL, groups = "BTtype")
  plot(resultLasso, label = TRUE,
    main = "Lasso coefficients in relation to degree of
  penalization.")
  topTable(resultLasso, n = 15)
}

a4Classif documentation built on Nov. 8, 2020, 6:55 p.m.