register | R Documentation |
register()
is a function to register expression profiles a user
wishes to compare.
register(
input,
stretches = NA,
shifts = NA,
reference,
query,
scaling_method = c("scale", "normalise"),
overlapping_percent = 0.5,
optimise_registration_parameters = TRUE,
optimisation_method = c("nm", "lbfgsb", "sa"),
optimisation_config = NULL
)
input |
Input data frame containing all replicates of gene expression in each genotype at each time point. |
stretches |
Candidate registration stretch factors to apply to query data, only required if |
shifts |
Candidate registration shift values to apply to query data, only required if |
reference |
Accession name of reference data. |
query |
Accession name of query data. |
scaling_method |
Scaling method applied to data prior to registration process. Either |
overlapping_percent |
Number of minimum overlapping time points. Shifts will be only considered if it leaves at least these many overlapping points after applying the registration function. |
optimise_registration_parameters |
Whether to optimise registration parameters with Simulated Annealing. By default, |
optimisation_method |
Optimisation method to use. Either |
optimisation_config |
Optional list with arguments to override the default optimisation configuration. |
This function returns a list of data frames, containing:
data |
a table containing the scaled input data and an additional |
model_comparison |
a table comparing the optimal registration function for each gene (based on |
## Not run:
# Load a data frame from the sample data
data_path <- system.file("extdata/brapa_arabidopsis_all_replicates.csv", package = "greatR")
all_data <- utils::read.csv(data_path)
# Running the registration
registration_results <- register(
input = all_data,
reference = "Ro18",
query = "Col0"
)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.