Description Usage Arguments Value Examples

View source: R/runDiffMeanAnalysis.R

Run differential mean analysis using t-moderated statistics. This function relies
on `lmFit`

from limma package.

1 2 | ```
runDiffMeanAnalysis(set, model, method = "ls", max_iterations = 100,
betas = TRUE, resultSet = TRUE, warnings = TRUE)
``` |

`set` |
Matrix, |

`model` |
Model matrix or formula to get model matrix from |

`method` |
String indicating the method used in the regression: "ls" or "robust". (Default: "ls") |

`max_iterations` |
Numeric indicating the maximum number of iterations done in the robust method. |

`betas` |
If |

`resultSet` |
Should results be encapsulated in a |

`warnings` |
Should warnings be displayed? (Default:TRUE) |

`MArrayLM`

or `resultSet`

with the result of the differential
mean analysis.

1 2 3 4 5 6 | ```
if (require(minfiData)){
mvalues <- getM(MsetEx)[1:100, ]
model <- model.matrix(~ Sample_Group, data = pData(MsetEx))
res <- runDiffMeanAnalysis(mvalues, model, method = "ls")
res
}
``` |

MEAL documentation built on May 24, 2018, 6:02 p.m.

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.