music_Theta: Subject and cell type specific relative abudance

Description Usage Arguments Value

View source: R/construct.R

Description

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

Usage

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

Arguments

x

ExpressionSet, single cell dataset

non.zero

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

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

markers

vector or list of gene names

Value

gene*subject by cell type matrix of relative abundance


kalpita23/scRNA_package documentation built on June 26, 2020, 12:15 a.m.