% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/construct.R
\name{music_Design.matrix}
\alias{music_Design.matrix}
\title{Cell type specific library size}
\usage{
music_Design.matrix(x, non.zero, markers, clusters, samples, select.ct)
}
\arguments{
\item{x}{SingleCellExperiment, single cell dataset}

\item{non.zero}{logical, if true, remove all gene with zero expression}

\item{markers}{vector or list of gene names}

\item{clusters}{character, the colData used as clusters}

\item{samples}{character,the colData used as samples}

\item{select.ct}{vector of cell types included, default as \code{NULL}. If \code{NULL}, include all cell types in \code{x}}
}
\value{
subject by cell type matrix of library
}
\description{
This function is for calculating the cell type specific library size for selected cell types.
}
\seealso{
\code{\link{music_S}}, \code{\link{music_M.theta}},
}
