View source: R/glog_transformation.R
glog_plot_optimised_lambda | R Documentation |
Plot SSE error of lambda optimisation process
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.
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.