query_rank_bias: Query rank bias results

View source: R/utils.R

query_rank_biasR Documentation

Query rank bias results

Description

Query rank bias results

Usage

query_rank_bias(bias_list, id_mat, id_ref)

Arguments

bias_list

list of rank diff matrix between cluster and reference cell types

id_mat

name of cluster from average cluster matrix

id_ref

name of cell type in reference matrix

Value

data.frame rank diff values

Examples

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
)

qres <- query_rank_bias(
    rankdiff,
    "CD14+ Mono",
    "CD14+ Mono"
)

NCBI-Hackathons/clustifyR documentation built on Aug. 31, 2024, 5:35 a.m.