Description Usage Arguments Value Examples
View source: R/glog_transformation.R
Plot SSE error of lambda optimisation process
1 2 3 4 5 6 7 | glog_plot_optimised_lambda(
df,
optimised_lambda,
classes,
qc_label,
plot_grid = 100
)
|
df |
A matrix-like (e.g. an ordinary matrix, a data frame) or
RangedSummarizedExperiment-class object with
all values of class |
optimised_lambda |
|
classes |
|
qc_label |
|
plot_grid |
|
Class ggplot
object containing optimisation plot.
1 2 3 4 5 6 7 8 9 10 11 12 13 | data <- MTBLS79[, MTBLS79$Batch == 1]
classes <- data$Class
data <- mv_imputation(df=data, method='knn')
out <- glog_transformation (df=data, classes=classes,
qc_label='QC')
optimised_lambda <- S4Vectors::metadata(out)
optimised_lambda <-
optimised_lambda$processing_history$glog_transformation$lambda_opt
glog_plot_optimised_lambda(df=data, classes=classes,
qc_label="QC", optimised_lambda=optimised_lambda)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.