Description Usage Arguments Details Value
View source: R/check_column_names.R
This function checks to make sure the variables required by PQPQ are in the data set.
1 | check_column_names(df, column_identifiers)
|
df |
A data frame (see details) |
column_identifiers |
A list of parameters in the data set. See details. |
This is a utility function designed to make sure that each parameter included in the column identfiers is present in the data set.
The parameter column_identifer
should be a list with fields protein_id
identifying a single varible with the proteins/Accessions, confidence
identifying a single variable containing the confidence for each peptide identity, sample_names
identifying which columns contain the quantification data for each biological sample, and peptide_ids
containing the columns uniquely identifying each peptide.
This function returns the parameter list, with any factors replaced by characters. The fuction will currently stop if an error is detected, so that the parameters causing problems can be fixed by the user.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.