AnalysisTableAnnotation | R Documentation |
Annotates Data Table
fileName
column name of column containing raw file names
sampleName
(will be generated from factors or fileName)
isotopeLabel
which column contains the isotope label (e.g. heavy or light), Gor light only if LFQ.
ident_qValue
column name with identification QValues (smaller better)
ident_Score
column with identification score (lager better)
opt_rt
optional column with rt information
opt_mz
optional column with mz information
nr_children
optional column containing for instance the number of peptides
workIntensity
column which contains the intensities
is_response_transformed
are the intensities transformed for constant variance
factors
Names of columns containing factors (annotations)
factorDepth
number of relevant factors (used by plotting functions etc)
hierarchy
list with columns describing the measurement hierarchy (i.e. protein peptide precursor fragment)
hierarchyDepth
At which depth do you want to model i.e. i.e. protein than 1
new()
create a new AnalysisTableAnnotationG
AnalysisTableAnnotation$new()
set_response()
Add name of intensity column
AnalysisTableAnnotation$set_response(colName)
colName
name of intensity column
get_response()
Get name of working intensity column
AnalysisTableAnnotation$get_response()
pop_response()
Remove last name in array of working intensity column names
AnalysisTableAnnotation$pop_response()
factor_keys()
Get factor keys
AnalysisTableAnnotation$factor_keys()
array with keys
factor_keys_depth()
Get factor keys till factorDepth
AnalysisTableAnnotation$factor_keys_depth()
hierarchy_keys()
get hierarchy keys
AnalysisTableAnnotation$hierarchy_keys(rev = FALSE)
rev
return in reverse order
array of column names
hierarchyKeys()
get hierarchy keys
AnalysisTableAnnotation$hierarchyKeys(rev = FALSE)
rev
return in reverse order
array of column names
hierarchy_keys_depth()
get hierarchy keys up to depth
AnalysisTableAnnotation$hierarchy_keys_depth(names = TRUE)
names
if TRUE names only if FALSE key value pairs
array of column names
hkeysDepth()
get hierarchy keys up to depth
AnalysisTableAnnotation$hkeysDepth(names = TRUE)
names
if TRUE names only if FALSE key value pairs
array of column names
id_required()
Id Columns which must be in the input data frame
AnalysisTableAnnotation$id_required()
character array
id_vars()
get names of columns annotating values (e.g. intensities)
AnalysisTableAnnotation$id_vars()
character array
value_vars()
get names of columns containing observations e.g. (intensity, qValue, mz or rt)
AnalysisTableAnnotation$value_vars()
annotation_vars()
get names of columns with sample annotations
AnalysisTableAnnotation$annotation_vars()
clone()
The objects of this class are cloneable with this method.
AnalysisTableAnnotation$clone(deep = FALSE)
deep
Whether to make a deep clone.
Other configuration:
AnalysisConfiguration
,
AnalysisParameters
,
INTERNAL_FUNCTIONS_BY_FAMILY
,
R6_extract_values()
,
complete_cases()
,
concrete_AnalysisConfiguration
,
make_interaction_column()
,
make_reduced_hierarchy_config()
,
sample_subset()
,
separate_factors()
,
separate_hierarchy()
,
setup_analysis()
,
spread_response_by_IsotopeLabel()
,
table_factors()
,
table_factors_size()
ata <- AnalysisTableAnnotation$new()
ata$fileName = "rawfile.column"
ata$hierarchy[["protein"]] = "protein.column"
ata$factors[["explanatory"]] = "explanatory.column"
ata$set_response("abundance")
ata$id_required()
ata$id_vars()
ata$value_vars()
ata$annotation_vars()
ac <- AnalysisConfiguration$new(ata)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.