plot_rank_bias {clustifyr} | R Documentation

## Query rank bias results

### Description

Query rank bias results

### Usage

    plot_rank_bias(bias_df, organism = "hsapiens")

### Arguments

`bias_df` | data.frame of rank diff matrix between cluster and reference cell types
`organism` | for GO term analysis, organism name: human - 'hsapiens', mouse - 'mmusculus'

### Value

ggplot object of distribution and annotated GO terms

### Examples

    ## Not run:
    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"
    )

    g <- plot_rank_bias(
        qres
    )

    ## End(Not run)

[Package clustifyr version 1.6.0 Index]