plots: Replace max rank with percentile lines

This commit is contained in:
Elias Projahn 2022-07-22 09:22:16 +02:00
parent 8812c9579f
commit 463faf0fbe
2 changed files with 53 additions and 28 deletions

View file

@ -4,16 +4,13 @@
\alias{plot_scores}
\title{Plot a ranking as a scatter plot of scores.}
\usage{
plot_scores(ranking, gene_sets = NULL, max_rank = NULL)
plot_scores(ranking, gene_sets = NULL)
}
\arguments{
\item{ranking}{The ranking to visualize.}
\item{gene_sets}{A named list of gene sets (containing vectors of gene IDs)
that will be highlighted in the plot. The names will be used in the legend.}
\item{max_rank}{The maximum rank of included genes. All genes that are ranked
lower will appear greyed out.}
}
\description{
This function requires the package \code{plotly}.