music_Theta: Subject and cell type specific relative abundance

View source: R/construct.R

music_ThetaR Documentation

Subject and cell type specific relative abundance

Description

This function is for calculating the subject and cell type specific relative abundance for selected cell types.

Usage

music_Theta(x, non.zero = FALSE, clusters, samples, select.ct = NULL)

Arguments

x

SingleCellExperiment, single cell dataset

non.zero

logical, default as F. If true, remove all gene with zero expression

clusters

character, the colData used as clusters

samples

character,the colData used as samples

select.ct

vector of cell types included, default as NULL. If NULL, include all cell types in x

markers

vector or list of gene names

Value

gene*subject by cell type matrix of relative abundance


xuranw/MuSiC documentation built on March 7, 2024, 11:45 a.m.