Description Usage Arguments Value Examples
Checks for possible errors in tables of experimental data and in the perturbation matrix. Returns data properly formated for the mra function.
1 | data.setup(obj, pert.tab = NULL, dec = ".")
|
obj |
A character string specifying the path to a folder that contains the experimental data tables and the perturbation rules, or a list containing several data tables, or a single data table. |
pert.tab |
Optional. The perturbation rule table if not provided in “'obj“'. |
dec |
The decimal separator as in “'base::read.csv“' (default is ".") |
If more than one data table are checked, then a list of matrices in the correct format for the mra function is returned. If a single table is checked, then a single matrix in the right format is returned. It also checks for correspondance with the perurbation rules table.
1 2 3 4 5 6 | #Example using q-PCR data stored in the package files
data=data.setup(list(estr1_A,estr1_B,estr2_A,estr2_B,estr3_A,estr3_B))
#Examples using a gene network from Kholodenko et.al. PNAS 2002 figure a and b
#Here data was obtained from the given R matrix
data.A=data.setup(gene.network.A)
data.B=data.setup(gene.network.B)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.