FilterSplits: Filters out split factors that are not present in all of your...

Description Usage Arguments Value

View source: R/distance.R

Description

If you attempt to run the distances on groups split by a second factor you will get an error if you the split factors are not present in each group. One can imagine if your groups were treatment groups and split was by cell type. If your treatment groups did not contain all the cell types this will throw an error. This function will remove any factors of the split that are not present in all groups.

Usage

1
FilterSplits(seurat_object, group = "default", split_by = NULL)

Arguments

seurat_object

A seurat object

group

Seurat Categories or groups for which the distances between are calculated. Cell wise data.

split_by

Second seurat category to split the calculations over.

Value

The input seurat object with irrelevant cells filtered out.


sbrn3/disscat documentation built on Dec. 12, 2019, 7:54 a.m.