Description Usage Arguments Value Author(s)
This function is meant to prepare the input to curve resolution function that calculates the profiles of a gene expression matrix measured as a function of time. The input data is an expression matrix which must have a metadata with replicate information. If there are no replicates, the total least squares implementation of the algorithm cannot be performed.
1 2 3 4 5 6 7 8 | prepareData(
expressionData,
metaData,
sampleColumn = "Label",
conditionColumn = "Condition",
genesAsRowNames = FALSE,
applyLogTransformation = TRUE
)
|
expressionData |
A data.frame containing the expression data (genes as rows, samples as columns). The first column of the data.frame must contain the gene identifiers/names. Alternatively, the gene identifiers/names can be specified as row names. Duplicated or missing gene identifiers/names will be dropped. |
metaData |
A data.frame containing the metadata (samples as rows, information as columns). The sample names must match the ones preset in the expression data. |
sampleColumn |
The name of the metadata column that contains the sample names. |
conditionColumn |
The name of the metadata column that contains the condition names. |
genesAsRowNames |
Whether the genes are specified as row names or not. |
applyLogTransformation |
Whether to apply the log2 transformation to the expression data or not. If the data is already log transformed, the value should be FALSE. |
A list which contains: the processed expression data (expressionMatrix), the residual matrix (residualMatrix), the error covariance matrix (errorCovarianceMatrix).
Tobias K. Karakach, Federico Taverna
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.