mirror of
https://github.com/johrpan/geposan.git
synced 2025-10-26 10:47:25 +01:00
plots: Add max_rank to score plot
This commit is contained in:
parent
1af138bf6f
commit
19bae34a96
2 changed files with 30 additions and 2 deletions
|
|
@ -4,7 +4,7 @@
|
|||
\alias{plot_scores}
|
||||
\title{Plot a ranking as a scatter plot of scores.}
|
||||
\usage{
|
||||
plot_scores(ranking, gene_sets = NULL, labels = NULL)
|
||||
plot_scores(ranking, gene_sets = NULL, labels = NULL, max_rank = NULL)
|
||||
}
|
||||
\arguments{
|
||||
\item{ranking}{The ranking to visualize.}
|
||||
|
|
@ -14,6 +14,9 @@ will be highlighted in the plot.}
|
|||
|
||||
\item{labels}{Labels for the gene sets. This is required if gene sets are
|
||||
given and has to have the same length.}
|
||||
|
||||
\item{max_rank}{The maximum rank of the highlighted genes. All genes that
|
||||
are ranked lower will appear greyed out.}
|
||||
}
|
||||
\description{
|
||||
This function requires the package \code{plotly}.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue