plot_rrs_ranking: Calculates Regulon specificity score (RSS) from binary...

Description Usage Arguments

View source: R/plot_rrs_ranking.R

Description

Calculates Regulon specificity score (RSS) from binary regulon activity.

Usage

1
2
3
4
5
6
7
8
plot_rrs_ranking(
  rrs_df,
  cell_type,
  ggrepel_force = 1,
  ggrepel_point_padding = 0.2,
  top_genes = 4,
  plot_extended = FALSE
)

Arguments

rrs_df

Data frame containing RSS scores for all regulons over all cell types. Can be created with calculate_rrs.

cell_type

Cell type for which to plot jsd ranking. Select "all" to plot a facet plot over all cell types.

ggrepel_force

same as the force parameter for geom_text_repel.

ggrepel_point_padding

same as the force parameter for geom_text_repel.

top_genes

Number of top genes to label in plot using ggrepel.


FloWuenne/scFunctions documentation built on June 3, 2021, 6:42 p.m.