https://github.com/AllenInstitute/patchseqtools
Raw File
Tip revision: 3c841b9fe8616cc0d88e4dc44b3048e8861c1687 authored by Jeremy Miller on 03 May 2024, 21:27:39 UTC
Update README.md with VISp viewer
Tip revision: 3c841b9
defineClassMarkers.Rd
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/QC_wrappers.r
\name{defineClassMarkers}
\alias{defineClassMarkers}
\title{Class markers}
\usage{
defineClassMarkers(datRef, onClasses, offClasses, numMarkers = 50)
}
\arguments{
\item{datRef}{a matrix (rows=genes x columns=samples) of gene expression data
(e.g., scRNA-seq)}

\item{onClasses}{a character (or factor) vector indicated the on class for each
sample in datRef}

\item{offClasses}{a character (or factor) vector indicated the off class for
each sample in datRef}

\item{numMarkers}{number of markers per class to return (default = 50)}
}
\value{
a 3 x count matrix of the top confused pairs of clusters with the three
  columns corresponding to mapped cluster, assigned cluster, and fraction of
  cells incorrectly mapped, respectively.
}
\description{
This function identifies both on and off markers genes for classes for use
  with patchSeqQC library. 'On markers, are genes that are highly expressed
  in the cell type of interest with enriched expression relative to other cell
  types. The second class, Off markers, are expected to be expressed at low levels
  in a given patch-seq cell type.'  Note that these markers are based on a relevant
  reference data set.
}
back to top