Export plot functions

This commit is contained in:
Elias Projahn 2022-11-30 15:27:00 +01:00
parent a6f0a64c2c
commit 2f24812c90
5 changed files with 71 additions and 3 deletions

19
man/box_plot.Rd Normal file
View file

@ -0,0 +1,19 @@
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/plots.R
\name{box_plot}
\alias{box_plot}
\title{Create a plot comparing some genes with the overall ranking.}
\usage{
box_plot(ranked_data, highlighted_genes)
}
\arguments{
\item{ranked_data}{The ranking to visualize.}
\item{highlighted_genes}{Genes that will be compared.}
}
\value{
A \code{plotly} figure.
}
\description{
Create a plot comparing some genes with the overall ranking.
}

21
man/overview_plot.Rd Normal file
View file

@ -0,0 +1,21 @@
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/plots.R
\name{overview_plot}
\alias{overview_plot}
\title{Create a plot showing an overview over the provided ranking.}
\usage{
overview_plot(ranked_data, highlighted_genes = NULL, sample_proportion = 0.05)
}
\arguments{
\item{ranked_data}{The ranking to visualize.}
\item{highlighted_genes}{Genes that will be marked.}
\item{sample_proportion}{Proportion of rows to use as the shown sample.}
}
\value{
A \code{plotly} figure.
}
\description{
Create a plot showing an overview over the provided ranking.
}

22
man/scores_plot.Rd Normal file
View file

@ -0,0 +1,22 @@
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/plots.R
\name{scores_plot}
\alias{scores_plot}
\title{Create plot showing the distribution of scores using \code{plotly}.}
\usage{
scores_plot(ranked_data, highlighted_genes = NULL, ranks = 1000)
}
\arguments{
\item{ranked_data}{Data on genes with precomputed ranks.}
\item{highlighted_genes}{Genes that will be marked.}
\item{ranks}{How may ranks the x-axis should include. If this parameter is
\code{NULL}, all ranks will be shown.}
}
\value{
A \code{plotly} figure for rendering.
}
\description{
Create plot showing the distribution of scores using \code{plotly}.
}