GetChiDF: Create a dataframe with chi-squared statistics of clones

View source: R/SeuratUtils.R

GetChiDFR Documentation

Create a dataframe with chi-squared statistics of clones

Description

This function creates a dataframe with chi-squared statistics between two metadata fields

Usage

GetChiDF(seuratObj, field1, field2, plot = FALSE)

Arguments

seuratObj

The seurat object

field1

The name of the first column to compare

field2

The name of the second column to compare

plot

If true, the function will plot a heatmap using pheatmap

Value

A dataframe with chi-squared statistics of clones


bimberlabinternal/CellMembrane documentation built on Oct. 16, 2024, 6:53 a.m.