% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/visualise_features.R
\name{visualiseExprs}
\alias{visualiseExprs}
\title{visualiseExprs}
\usage{
visualiseExprs(
  sce,
  plot = c("boxplot", "violin", "jitter", "density", "pairwise"),
  altExp_name = c("none"),
  exprs_value = "logcounts",
  group_by = NULL,
  facet_by = NULL,
  feature_subset = NULL,
  cell_subset = NULL,
  n = NULL,
  threshold = NULL
)
}
\arguments{
\item{sce}{A singlecellexperiment object}

\item{plot}{Type of plot, includes boxplot, violin, jitter, density,
and pairwise. By default is boxplot}

\item{altExp_name}{A character indicates which expression matrix is used.
by default is none (i.e. RNA).}

\item{exprs_value}{A character indicates which expression value
in assayNames is used.}

\item{group_by}{A character indicates how is the expression
will be group in the plots (stored in colData).}

\item{facet_by}{A character indicates how is the expression
will be lay out panels in a grid in the plots (stored in colData).}

\item{feature_subset}{A vector of characters indicates
the subset of features that are used for visualisation}

\item{cell_subset}{A vector of characters indicates
the subset of cells that are used for visualisation}

\item{n}{A numeric indicates the top expressed features to show.}

\item{threshold}{Thresholds of high expresion for features
(only is used for pairwise plot).}
}
\value{
A ggplot to visualise te features distribution
}
\description{
A function to visualise the features distribtuion
}
\examples{
data(sce_control_subset)
visualiseExprs(sce_control_subset,
plot = "boxplot",
group_by = "SNF_W_louvain",
feature_subset = c("hg19_CD8A"))

visualiseExprs(sce_control_subset,
plot = "density",
altExp_name = "ADT",
group_by = "SNF_W_louvain",
feature_subset = c("CD8", "CD4"))

}