Skip to contents

SE operators

set_SE_fit_parameters() set_SE_processing_metadata() set_SE_keys() set_SE_experiment_metadata() set_SE_experiment_raw_data() get_SE_fit_parameters() get_SE_processing_metadata() get_SE_experiment_raw_data() get_SE_experiment_metadata() get_SE_keys() get_SE_identifiers() set_SE_identifiers()
Get and set metadata for parameters on a SummarizedExperiment object.
aggregate_assay()
Aggregate a BumpyMatrix assay by a given aggreation function.
demote_fields()
Demote a metadata field in the rowData or colData of a SummarizedExperiment object to a nested field of a BumpyMatrix assay.
get_MAE_identifiers()
get_MAE_identifiers
identify_unique_se_metadata_fields()
Identify unique metadata fields from a list of SummarizedExperiments
merge_SE()
Merge multiple Summarized Experiments
merge_assay()
Merge assay data
merge_metadata()
Merge metadata
promote_fields()
Promote a nested field to be represented as a metadata field of the SummarizedExperiment as either the rowData or colData.
split_SE_components()
split_SE_components

Converters

convert_mae_assay_to_dt()
Convert a MultiAssayExperiment assay to a long data.table
convert_se_assay_to_dt()
Convert a SummarizedExperiment assay to a long data.table
df_to_bm_assay()
df_to_bm_assay
flatten()
Flatten a table

Identifiers helpers/operators

get_default_identifiers()
Get gDR default identifiers required for downstream analysis.
get_expect_one_identifiers()
Get identifiers that expect only one value for each identifier.
get_identifiers_dt()
Get descriptions for identifiers
get_idfs_synonyms()
Get gDR synonyms for the identifiers
get_required_identifiers()
Get identifiers required for downstream analysis.
get_header()
Get or reset headers for one or all header field(s) respectively
get_env_identifiers() get_prettified_identifiers() set_env_identifier() reset_env_identifiers()
Get, set, or reset identifiers for one or all identifier field(s)
prettify_flat_metrics()
Prettify metric names in flat 'Metrics' assay
update_env_idfs_from_mae()
Update environment identifiers from MAE object identifiers
update_idfs_synonyms()
Update gDR synonyms for the identifier
validate_identifiers()
Check that specified identifier values exist in the data.

Experiment helpers

get_experiment_groups()
get_experiment_groups
validate_MAE()
Validate MultiAssayExperiment object
validate_SE()
Validate SummarizedExperiment object
validate_dimnames()
Validate dimnames
validate_se_assay_name()
Check whether or not an assay exists in a SummarizedExperiment object.

Assay names

get_assay_names()
get assay names of the given se/dataset fetch the data from the se if provided as metadata use predefined values from get_env_assay_names otherwise
get_combo_assay_names()
get names of combo assays
get_combo_base_assay_names()
get names of combo base assays
get_combo_score_assay_names()
get names of combo score assays
get_env_assay_names()
get default assay names for the specified filters, i.e. set of assay types, assay groups and assay data types

Combination data

convert_combo_data_to_dt()
convert combo assays from SummarizedExperiments to the list of data.tables
convert_combo_field_to_assay()
get combo assay names based on the field name
define_matrix_grid_positions()
Define matrix grid positions
get_additional_variables()
Identify and return additional variables in list of dt
get_combo_col_settings()
Get colorscale data for given combo assay and growth metric
get_combo_excess_field_names()
get names of combo excess fields
get_combo_score_field_names()
get names of combo score fields
get_iso_colors()
get_iso_colors
has_single_codrug_data()
Has Single Codrug Data
has_valid_codrug_data()
Has Valid Codrug Data
is_combo_data()
Checks if se is combo dataset.
remove_codrug_data()
Remove Codrug Data
round_concentration()
Round concentration to ndigit significant digits

Fit curves

cap_xc50()
Cap XC50 value.
.set_invalid_fit_params()
Set fit parameters for an invalid fit.
fit_curves()
Fit curves
logisticFit()
Logistic fit
predict_conc_from_efficacy()
Predict a concentration for a given efficacy with fit parameters.
predict_efficacy_from_conc()
Predict efficacy values given fit parameters and a concentration.
set_constant_fit_params()
Set fit parameters for a constant fit.

JSON conversion

convert_colData_to_json()
Convert colData to JSON
convert_mae_to_json()
Create JSON document.
convert_metadata_to_json()
Convert experiment metadata to JSON format for elasticsearch indexing.
convert_rowData_to_json()
Convert rowData to JSON
convert_se_to_json()
Convert a SummarizedExperiment object to a JSON document.
strip_first_and_last_char()
String first and last characters of a string.
validate_mae_with_schema()
Validate MAE against a schema.

JSON validation

validate_json()
Validate JSON against a schema.

Metadata management

addClass()
add arbitrary S3 class to an object
modifyData()
modify assay with additional data

Standardize MAE

get_optional_coldata_fields()
get optional colData fields
get_optional_rowdata_fields()
get optional rowData fields
refine_coldata()
refine colData
refine_rowdata()
refine rowData
rename_DFrame()
Rename DFrame
rename_bumpy()
Rename BumpyMatrix
standardize_mae()
Standardize MAE by switching from custom identifiers into gDR-default
standardize_se()
Standardize SE by switching from custom identifiers into gDR-default

Utils

MAEpply()
Lapply through all the experiments in MultiAssayExperiment object
apply_bumpy_function()
Apply a function to every element of a bumpy matrix.
assert_choices()
assert choices
average_biological_replicates_dt()
Average biological replicates.
extend_normalization_type_name()
extend abbreviated normalization type
geometric_mean()
Geometric mean
get_duplicated_rows()
Helper function to find duplicated rows
get_non_empty_assays()
get_non_empty_assays
get_synthetic_data()
Get synthetic data from gDRtestData package
is_any_exp_empty()
is_any_exp_empty
is_exp_empty()
is_exp_empty
is_mae_empty()
is_mae_empty
loop()
Lapply or bplapply.
mcolData()
mcolData
mrowData()
mrowData
shorten_normalization_type_name()
shorten normalization type

Test helpers

gen_synthetic_data()
gen_synthetic_data
get_testdata()
get_testdata
get_testdata_codilution()
get_testdata_codilution
get_testdata_combo()
get_testdata_combo