tppccrImport: Import TPP-CCR dataset for analysis by the 'TPP' package.

Description Usage Arguments Details Value See Also Examples

View source: R/tppccrImport.R

Description

tppccrImport imports a table of protein fold changes and stores them in an ExpressionSet for use in the TPP package.

Usage

1
2
3
4
5
6
7
8
9
tppccrImport(
  configTable,
  data = NULL,
  idVar = "gene_name",
  fcStr = "rel_fc_",
  naStrs = c("NA", "n/d", "NaN", "<NA>"),
  qualColName = "qupm",
  nonZeroCols = "qssm"
)

Arguments

configTable

either a dataframe or the path to a spreadsheet. In both cases it specifies necessary information of the TPP-CCR experiment.

data

dataframe containing fold change measurements and additional annotation columns to be imported. Can be used instead of specifying the file path in configTable.

idVar

character string indicating which data column provides the unique identifiers for each protein.

fcStr

character string indicating which columns contain the actual fold change values. Those column names containing the suffix fcStr will be regarded as containing fold change values.

naStrs

character vector indicating missing values in the data table. When reading data from file, this value will be passed on to the argument na.strings in function read.delim.

qualColName

character string indicating which column can be used for additional quality criteria when deciding between different non-unique protein identifiers.

nonZeroCols

character string indicating a column that will be used for filtering out zero values.

Details

The imported dataset has to contain measurements obtained by a TPP-CCR experiment. Fold changes need to be pre-computed using the lowest concentration as reference.

The dataset can be specified by filename in the configTable argument, or given directly in the data argument

The default settings are adjusted to analyze data of the python package isobarQuant. You can also customize them for your own dataset.

The configTable argument is a dataframe, or the path to a spreadsheet (tab-delimited text-file without quoted strings, or xlsx format). Information about each experiment is stored row-wise. It contains the following columns:

During data import, proteins with NAs in the data column specified by idVar receive unique generic IDs so that they can be processed by the package.

Value

ExpressionSet object storing the measured fold changes, as well as row and column metadata. In each ExpressionSet S, the fold changes can be accessed by Biobase::exprs(S). Protein expNames can be accessed by featureNames(S). Isobaric labels and the corresponding concentrations are returned by S$label and S$concentration.

See Also

tpptrImport, tppccrCurveFit

Examples

1
2
3

DoroChilds/TPP documentation built on Oct. 31, 2021, 4:38 a.m.