Skip to content
Permalink
7a26db24b2
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Go to file
 
 
Cannot retrieve contributors at this time
37 lines (33 sloc) 1.13 KB
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/plotting.R
\name{plotOutput}
\alias{plotOutput}
\title{Plot Output}
\usage{
plotOutput(expression, algorithmOutput, GenesToPlot = 100, name = "output")
}
\arguments{
\item{expression}{The gene expression data frame that shall be plotted}
\item{algorithmOutput}{The output of the algorithm}
\item{GenesToPlot}{The number of genes to be plotted}
\item{name}{The name of the plot without .pdf}
}
\value{
The plot name of the plot in the pdf file
}
\description{
Plots the output of algorithms with the right data format
with the (simulated) gene expression, creates a pdf file
}
\examples{
\dontrun{
params <- newParams(nGenes = list("1"=5,"2"=list("gauss"= 5,"gamma"= 5)))
simulation <- simulateExpression(params= params,verbose=FALSE)
expression <- simulation$expressionData
output <- useMclust(expression = expression, verbose = FALSE)
plotOutput(expression = expression,algorithmOutput = output,
GenesToPlot = 10,name = "plot10GenesWExpression")
plotOutput(expression = expression,algorithmOutput = output,
GenesToPlot = nrow(expression),name = "plotAllGenesWExpression")
}
}