getTumorCluster: getTumorCluster

View source: R/scAnnotation.R

getTumorClusterR Documentation

getTumorCluster

Description

Identify tumor clusters according to the results of cell type prediction and cell malignancy estimatation.

Usage

getTumorCluster(cell.annotation, epi.thres = 0.6, malign.thres = 0.8)

Arguments

cell.annotation

A data.frame of cells' annotation containing predicted cell typea and estimated cell malignant type.

epi.thres

A threshold for epithelial cell percent to decide putative tumor clusters.

malign.thres

A threshold for malignant cell percent to decide putative tumor clusters.

Value

A list of identified tumor clusters. If no clusters are found, return NULL.


wguo-research/scCancer documentation built on May 26, 2024, 9:12 p.m.