query_rank_bias {clustifyr} | R 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"
    )

[Package clustifyr version 1.6.0 Index]