% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/selectX_plot.R
\name{obs_exp_scatter}
\alias{obs_exp_scatter}
\title{Scatter plot of observed vs expected weighted co-mutation}
\usage{
obs_exp_scatter(result, title)
}
\arguments{
\item{result}{Result table from \code{selectX()$result}.}

\item{title}{Plot title.}
}
\value{
A ggplot2 object.
}
\description{
Plots each gene pair as a point with observed weighted co-mutation on the y-axis
and expected (null model mean) on the x-axis. Significant co-mutations (CO) and
mutual exclusivities (ME) are coloured; non-significant pairs are grey.
}
\examples{
\donttest{
data(luad_result, package = "SelectSim")
obs_exp_scatter(result = luad_result, title = "TCGA LUAD")
}

}
