find_rank_bias: Find rank bias

Description Usage Arguments Value Examples

View source: R/utils.R

Description

Find rank bias

Usage

1
find_rank_bias(avg_mat, ref_mat, query_genes = NULL)

Arguments

avg_mat

average expression matrix

ref_mat

reference expression matrix

query_genes

original vector of genes used to clustify

Value

list of matrix of rank diff values

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
avg <- average_clusters(
    mat = pbmc_matrix_small,
    metadata = pbmc_meta,
    cluster_col = "classified",
    if_log = FALSE
)

rankdiff <- find_rank_bias(
    avg,
    cbmc_ref,
    query_genes = pbmc_vargenes
)

NCBI-Hackathons/RClusterCT documentation built on July 20, 2021, 3:15 p.m.