Description Usage Arguments Value Examples
View source: R/tpp2dComputeFoldChanges.R
Computes fold changes by calculating fold changes of the sumionarea relative to the reference column.
1 2 3 4 5 6 7 | tpp2dComputeFoldChanges(
configTable = NULL,
data,
intensityStr = NULL,
fcStr = NULL,
newFcStr = "rel_fc_"
)
|
configTable |
DEPRECATED |
data |
dataframe that contain the data for the 2D-TPP experiment |
intensityStr |
DEPRECATED |
fcStr |
DEPRECATED |
newFcStr |
character string indicating how columns that will contain the actual
fold change values will be called. The suffix |
A data.frame with additional columns with constitute fold changes calculated with respect to the intensity values of the zero treatment column
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 | # Preparation:
data(panobinostat_2DTPP_smallExample)
# Import data:
datIn <- tpp2dImport(configTable = panobinostat_2DTPP_config,
data = panobinostat_2DTPP_data,
idVar = "representative",
addCol = "clustername",
intensityStr = "sumionarea_protein_",
nonZeroCols = "qusm")
# View attributes of imported data (experiment infos and import arguments):
attr(datIn, "importSettings") %>% unlist
attr(datIn, "configTable")
# Compute fold changes:
datFC <- tpp2dComputeFoldChanges(data = datIn)
# View updated attributes. Now contain field 'fcStrNorm' indicating prefix
# of the fold change columns after normalization.
attr(datFC, "importSettings")["fcStr"]
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.