forked from satijalab/seurat
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCreateAssayObject.Rd
37 lines (33 loc) · 1.08 KB
/
CreateAssayObject.Rd
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/objects.R
\name{CreateAssayObject}
\alias{CreateAssayObject}
\title{Create an Assay object}
\usage{
CreateAssayObject(counts, data, min.cells = 0, min.features = 0)
}
\arguments{
\item{counts}{Unnormalized data such as raw counts or TPMs}
\item{data}{Prenormalized data; if provided, do not pass \code{counts}}
\item{min.cells}{Include features detected in at least this many cells. Will
subset the counts matrix as well. To reintroduce excluded features, create a
new object with a lower cutoff.}
\item{min.features}{Include cells where at least this many features are
detected.}
}
\description{
Create an Assay object from a feature (e.g. gene) expression matrix. The
expected format of the input matrix is features x cells.
}
\details{
Non-unique cell or feature names are not allowed. Please make unique before
calling this function.
}
\examples{
pbmc_raw <- read.table(
file = system.file('extdata', 'pbmc_raw.txt', package = 'Seurat'),
as.is = TRUE
)
pbmc_rna <- CreateAssayObject(counts = pbmc_raw)
pbmc_rna
}