Description Usage Arguments Value Author(s) Examples
This function is designed to simulate a probe-specific variable. It accepts one variable at a time. The variable need be either a factor or numeric vectors, any character vector will be modeled as a factor.
1 |
data |
The data matrix of simulated data the user wishes to adjust. |
variable |
The variable the user wishes to introduce. |
rows |
Either a number between 0 and 1 or a vector of row IDs. A number between 0 and 1 specifies the proportion of data to be influenced by the variable. A vector specifies the rows to be influenced. |
sample.from |
A list specifying a function that coefficients can be sampled from (e.g. rnorm, rchisq, etc.) and the relevant parameters (e.g. mean, sd, df, etc). The first item in the list should be named func and the second named params. |
Matrix of dimension equal to that of data containing the probe-specific effects.
Brig Mecham <brig.mecham@sagebase.org>
1 2 3 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.