Description Usage Arguments Value Author(s) Examples
View source: R/clean.failed_to_NA.R
replace the data points of the failed samples/binders with NA
1 2 3 4 5 6 7 8 | failed_to_NA(
baf,
wise = c("sinfo", "binder"),
fail_flag = "fail_flag",
failMark = "failed",
show_count = TRUE,
by
)
|
baf |
an object of the |
wise |
sample-wise or binder-wise. |
fail_flag |
the name of the data frame that contains fail flags in
|
failMark |
what is the label in the flag for failed sample |
show_count |
Whether the number of "failed" is shown |
by |
if show_count is TRUE, then "by" indicates by which column the
counts are stratified, e.g. "plate", "assay". This can be given as a vector
like the result of |
an object of the BAf-class
Mun-Gwan Hong <mun-gwan.hong@scilifelab.se>
1 2 3 | data(sba)
failed_to_NA(sba, wise= "sinfo", by= "plate")
failed_to_NA(sba) # default 'by' is batch
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.