% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/scanpyFunctions.R
\name{plotScanpyEmbedding}
\alias{plotScanpyEmbedding}
\title{plotScanpyEmbedding}
\usage{
plotScanpyEmbedding(
  inSCE,
  reducedDimName,
  color = NULL,
  legend = "right margin",
  title = ""
)
}
\arguments{
\item{inSCE}{Input \code{SingleCellExperiment} object.}

\item{reducedDimName}{Name of reducedDims object containing embeddings.
Eg. scanpyUMAP.}

\item{color}{Keys for annotations of observations/cells or variables/genes.}

\item{legend}{Location of legend, either 'on data', 'right margin' or a 
valid keyword for the loc parameter of Legend.}

\item{title}{Provide title for panels either as string or list of strings}
}
\value{
plot object
}
\description{
plotScanpyEmbedding
}
\examples{
data(scExample, package = "singleCellTK")
\dontrun{
sce <- runScanpyNormalizeData(sce, useAssay = "counts")
sce <- runScanpyScaleData(sce, useAssay = "scanpyNormData")
sce <- runScanpyFindHVG(sce, useAssay = "scanpyScaledData", method = "seurat")
sce <- runScanpyPCA(sce, useAssay = "scanpyNormData")
sce <- runScanpyFindClusters(sce, useAssay = "counts")
sce <- runScanpyUMAP(sce, useReduction = "scanpyPCA")
plotScanpyEmbedding(sce, reducedDimName = "scanpyUMAP", color = 'Scanpy_louvain_1')
}
}