mirror of
https://github.com/johrpan/geposan.git
synced 2025-10-26 02:37:25 +01:00
plots: Add rankings correlation plot
This commit is contained in:
parent
60dc05f6c6
commit
98ee52b122
3 changed files with 139 additions and 0 deletions
32
man/plot_rankings_correlation.Rd
Normal file
32
man/plot_rankings_correlation.Rd
Normal file
|
|
@ -0,0 +1,32 @@
|
|||
% Generated by roxygen2: do not edit by hand
|
||||
% Please edit documentation in R/plots.R
|
||||
\name{plot_rankings_correlation}
|
||||
\alias{plot_rankings_correlation}
|
||||
\title{Plot a scatter plot to compare two rankings.}
|
||||
\usage{
|
||||
plot_rankings_correlation(
|
||||
ranking_x,
|
||||
ranking_y,
|
||||
name_x,
|
||||
name_y,
|
||||
gene_sets = NULL,
|
||||
use_ranks = TRUE
|
||||
)
|
||||
}
|
||||
\arguments{
|
||||
\item{ranking_x}{The ranking to be shown on the X axis.}
|
||||
|
||||
\item{ranking_y}{The ranking to be shown on the Y axis.}
|
||||
|
||||
\item{name_x}{Title of the X axis.}
|
||||
|
||||
\item{name_y}{Title of the Y axis.}
|
||||
|
||||
\item{gene_sets}{A named list of vectors of gene IDs to highlight. The names
|
||||
will be used to distinguish the sets and in the legend.}
|
||||
|
||||
\item{use_ranks}{Show ranks instead of scores.}
|
||||
}
|
||||
\description{
|
||||
This function requires the package \code{plotly}.
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue