dot-reorder_BAf_and_replace_0: reorder sample and replace 0

Description Usage Arguments Value

Description

Reorder the samples of an BAf according to given sample_order and replace 0 with 1 to avoid any error in log-scale plots

Usage

1
2
3
4
5
.reorder_BAf_and_replace_0(
  baf,
  sample_order = order(batch(baf, "sample")),
  show_count_of_0 = FALSE
)

Arguments

baf

an object of the BAf-class

sample_order

the order of sample in plots. The default is the order by sample batch in order to easily check batch differences.

show_count_of_0

whether the number of 0 should be displayed

Value

an object of the BAf-class


Rundmus/BAf-R_package documentation built on May 18, 2020, 12:59 p.m.