clean_data: Clean data to remove genes only expressed in a few cells and...

View source: R/form_tensor.R

clean_dataR Documentation

Clean data to remove genes only expressed in a few cells and donors with very few cells. Generally, this should be done through calling the form_tensor() wrapper function.

Description

Clean data to remove genes only expressed in a few cells and donors with very few cells. Generally, this should be done through calling the form_tensor() wrapper function.

Usage

clean_data(container, donor_min_cells = 5)

Arguments

container

environment Project container that stores sub-containers for each cell type as well as results and plots from all analyses

donor_min_cells

numeric Minimum threshold for number of cells per donor (default=5)

Value

The project container with cleaned counts matrices in each container$scMinimal_ctype$<ctype>$count_data.


scITD documentation built on Sept. 8, 2023, 5:11 p.m.