Title: | Automated Affymetrix Array Analysis Core Package |
---|---|
Description: | Utility functions for the Automated Affymetrix Array Analysis set of packages. |
Authors: | Willem Talloen [aut], Tobias Verbeke [aut], Laure Cougnaud [cre] |
Maintainer: | Laure Cougnaud <[email protected]> |
License: | GPL-3 |
Version: | 1.55.0 |
Built: | 2024-12-27 05:29:04 UTC |
Source: | https://github.com/bioc/a4Core |
Generic function to produce a confusion matrix (related to a classification problem)
confusionMatrix(x, ...)
confusionMatrix(x, ...)
x |
object (usually a model fit object) that contains all information needed to produce the confusion matrix. |
... |
further arguments for a specific method |
A confusion matrix
Tobias Verbeke
Simulate Data for Package Testing and Demonstration Purposes
simulateData(nCols = 40, nRows = 1000, nEffectRows = 5, nNoEffectCols = 5, betweenClassDifference = 1, withinClassSd = 0.5)
simulateData(nCols = 40, nRows = 1000, nEffectRows = 5, nNoEffectCols = 5, betweenClassDifference = 1, withinClassSd = 0.5)
nCols |
number of samples; currently this should be an even number |
nRows |
number of features (genes) |
nEffectRows |
number of differentially expressed features |
nNoEffectCols |
number of samples for which the profile of a differentially expressed feature will be set similar to the other class |
betweenClassDifference |
Average mean difference between the two classes to simulate a certain signal in the features for which an effect was introduced; the default is set to 1 |
withinClassSd |
Within class standard deviation used to add a certain noise level to the features for which an effect was introduced; the default standard deviation is set to 0.5 |
object of class ExpressionSet with the characteristics specified
The simulation assumes the variances are equal between the two classes. Heterogeneity could easily be introduced in the simulation if this would be requested by the users.
W. Talloen and T. Verbeke
someEset <- simulateData(nCols = 40, nRows = 1000, nEffectRows = 5, nNoEffectCols = 5) someEset
someEset <- simulateData(nCols = 40, nRows = 1000, nEffectRows = 5, nNoEffectCols = 5) someEset
a top table is a rectangular object (e.g. data frame) which lists the top n most relevant variables
topTable(fit, n, ...)
topTable(fit, n, ...)
fit |
object for which to obtain a top table, generally a fit object for a given model class |
n |
number of features (variables) to list in the top table, ranked by importance |
... |
further arguments for specific methods |
Top table with top n relevant variable.
Tobias Verbeke
Methods for topTable. topTable extracts the top n most important features for a given classification or regression procedure
fit |
object resulting from a classification or regression procedure |
n |
number of features that one wants to extract from a table that ranks all features according to their importance in the classification or regression model; defaults to 10 for limma objects |
glmnet and lognet
fit = "glmnet", n = "numeric"glmnet objects are produced by lassoClass
(a4Classif) or
lassoReg
(a4Base)
fit = "lognet", n = "numeric"lognet objects are produced by lassoClass
(a4Classif) or
lassoReg
(a4Base)
fit = "elnet", n = "numeric"elnet objects are produced by lassoClass
(a4Classif) or
lassoReg
(a4Base)