View source: R/integrate_data.R
integrate_data | R Documentation |
Integrate different batch datasets together.
integrate_data( object, method = c("qc_mean", "qc_median", "subject_mean", "subject_median") )
object |
object. |
method |
Which method do you want to use? subject_mean or qc_mean, default is qc_mean. |
Data integration is a necessary step for multiple batch dataset. https://www.readcube.com/library/fe13374b-5bc9-4c61-9b7f-6a354690947e:abe41368-d08d-4806-871f-3aa035d21743Dunn's method has been used in this function.
Return a mass_dataset which has been integrated.
Xiaotao Shen shenxt1990@outlook.com
## Not run: data("object1", package = "demodata") data("object2", package = "demodata") object = align_batch(x = object1, y = object2, return_index = FALSE) object = impute_mv(object = object, method = "zero") get_mv_number(object) new_object = integrate_data(object = object, method = "qc_mean") massdataset::intensity_plot(object = object, variable_index = 4, order_by = "injection.order",color_by = "batch") massdataset::intensity_plot(object = new_object, variable_index = 2, order_by = "injection.order",color_by = "batch") ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.