Description Usage Arguments Value Author(s) See Also
View source: R/rep.combine_repeats.R
Merge repeated measures by taking one representative value (e.g. average) of
them. It assumes the measurements were conducted in separate binder batches
(or assays), so that the data are stored in different columns of baf
.
If repeated measurements were conducted in a same binder batch, transform the
data using transform_to_landscape_for_repeats
.
1 2 3 4 5 6 7 8 9 | combine_repeats(
baf,
rep_binder,
rm_grp_rep_binder = T,
center = T,
scale = F,
FUN = function(x) mean(x, na.rm = T),
...
)
|
baf |
an object of the |
rep_binder |
a |
rm_grp_rep_binder |
if the |
center, scale |
if the difference between assays should be adjusted using
|
FUN |
the function to compute a reference value such as mean and median |
... |
not used |
A BAf-class
in which the two observed values were replaced with
the representative value computed by the FUN
.
Mun-Gwan Hong <mun-gwan.hong@scilifelab.se>
transform_to_landscape_for_repeats
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.