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

View source: R/construct.R

bulk_constructR Documentation

Construct artificial bulk tissue expression from single cell data

Description

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

Usage

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


nkoneill/mMuSiC documentation built on Oct. 25, 2023, 2:39 a.m.