bulk_construct: Construct artificial bulk tissue expression from single cell...

Description Usage Arguments Value

View source: R/construct.R

Description

Artificial bulk tissue expression is generated by adding gene expressions of all cells from same subjects.

Usage

1
bulk_construct(eset, clusters, samples, select.ct = NULL)

Arguments

eset

ExpressionSet, single cell dataset

clusters

character, the phenoData used as clusters

samples

character, the phenoData used as samples

select.ct

vector of cell types included, default as NULL. If NULL, include all cell types in x. Otherwise, only cells of selected cell types will be used for construction.

Value

ExpressionSet of constructed bulk tissue, matrix of cell number in each cluster by subject


xuranw/MuSiC documentation built on Dec. 5, 2019, 12:58 a.m.