Skip to contents

make combination ref matrix to assess intermixing

Usage

make_comb_ref(ref_mat, if_log = TRUE, sep = "_and_")

Arguments

ref_mat

reference expression matrix

if_log

whether input data is natural

sep

separator for name combinations

Value

expression matrix

Examples

ref <- make_comb_ref(
    cbmc_ref,
    sep = "_+_"
)
ref[1:3, 1:3]
#>                 B CD14+ Mono CD16+ Mono
#> HBG2    1.0668542  1.2467965   1.025399
#> HBG1    0.6229441  0.6806011   0.502723
#> HLA-DRA 4.4557101  3.5158415   3.946081