mirror of
https://github.com/johrpan/geposan.git
synced 2025-10-26 10:47:25 +01:00
plots: Move rank plot and add boxplot
This commit is contained in:
parent
d075380559
commit
28f9834984
6 changed files with 143 additions and 77 deletions
|
|
@ -1,20 +0,0 @@
|
|||
% Generated by roxygen2: do not edit by hand
|
||||
% Please edit documentation in R/ranking.R
|
||||
\name{plot.geposan_ranking}
|
||||
\alias{plot.geposan_ranking}
|
||||
\title{S3 method for plotting a ranking.}
|
||||
\usage{
|
||||
\method{plot}{geposan_ranking}(ranking, gene_sets = NULL, labels = NULL)
|
||||
}
|
||||
\arguments{
|
||||
\item{gene_sets}{A list of gene sets (containing vectors of gene IDs) that
|
||||
will be highlighted in the plot.}
|
||||
|
||||
\item{labels}{Labels for the gene sets.}
|
||||
}
|
||||
\description{
|
||||
S3 method for plotting a ranking.
|
||||
}
|
||||
\seealso{
|
||||
ranking()
|
||||
}
|
||||
23
man/plot_boxplot.Rd
Normal file
23
man/plot_boxplot.Rd
Normal file
|
|
@ -0,0 +1,23 @@
|
|||
% Generated by roxygen2: do not edit by hand
|
||||
% Please edit documentation in R/plots.R
|
||||
\name{plot_boxplot}
|
||||
\alias{plot_boxplot}
|
||||
\title{Visualize a ranking by comparing gene sets in a boxplot.}
|
||||
\usage{
|
||||
plot_boxplot(ranking, gene_sets = NULL, labels = NULL)
|
||||
}
|
||||
\arguments{
|
||||
\item{ranking}{The ranking to visualize.}
|
||||
|
||||
\item{gene_sets}{A list of gene sets (containing vectors of gene IDs) that
|
||||
will be shown as separate boxes.}
|
||||
|
||||
\item{labels}{Labels for the gene sets. This is required if gene sets are
|
||||
given and has to have the same length.}
|
||||
}
|
||||
\description{
|
||||
This function requires the package \code{plotly}.
|
||||
}
|
||||
\seealso{
|
||||
ranking()
|
||||
}
|
||||
23
man/plot_scores.Rd
Normal file
23
man/plot_scores.Rd
Normal file
|
|
@ -0,0 +1,23 @@
|
|||
% Generated by roxygen2: do not edit by hand
|
||||
% Please edit documentation in R/plots.R
|
||||
\name{plot_scores}
|
||||
\alias{plot_scores}
|
||||
\title{Plot a ranking as a scatter plot of scores.}
|
||||
\usage{
|
||||
plot_scores(ranking, gene_sets = NULL, labels = NULL)
|
||||
}
|
||||
\arguments{
|
||||
\item{ranking}{The ranking to visualize.}
|
||||
|
||||
\item{gene_sets}{A list of gene sets (containing vectors of gene IDs) that
|
||||
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.}
|
||||
}
|
||||
\description{
|
||||
This function requires the package \code{plotly}.
|
||||
}
|
||||
\seealso{
|
||||
ranking()
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue