% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/ExpressionCellNet.R
\name{PCAforGenes}
\alias{PCAforGenes}
\title{PCA on network-derived features}
\usage{
PCAforGenes(ExpCellNetObj)
}
\arguments{
\item{ExpCellNetObj}{An ExpressionCellNet object containing "Network", "Generations",
and a normalized count matrix.}
}
\value{
A ggplot object showing PCA embedding of genes (nodes).
}
\description{
Performs principal component analysis (PCA) on the network-restricted feature matrix
returned by ExtractFeature(), after min-max scaling, and returns a ggplot of PC1 vs PC2.
}
\examples{

data("example_data")
p <- PCAforGenes(example_data$expcellnetobj)
p


}
