celltypeFreqs {phemd} | R Documentation

## Accessor function for cell subtype distribution for each sample

### Description

Accessor function for cell subtype distribution for each sample

### Usage

    celltypeFreqs(obj)

### Arguments

`obj` | Phemd object

### Value

Matrix representing cell subtype relative frequencies for each sample (num_samples x num_genes)

### Examples

    phemdObj <- createDataObj(all_expn_data, all_genes, as.character(snames_data))
    celltype_weights <- celltypeFreqs(phemdObj)

[Package phemd version 1.3.0 Index]