flowmalizr: Normalize flow data cell counts and compare cell phenotypes

View source: R/functions_flowmalizr.R

flowmalizrR Documentation

Normalize flow data cell counts and compare cell phenotypes

Description

flowmalizr() takes an xls input sheet containing columns listed as groups, total_cell_count_per_mL, live_cells, and phenotypes of interest. Each row contains a group-replicate, cell number per mL, live cell count, and cells identified, respectively. This is used to detemine cells_from_total and percentage_of_total by (total_cell_count_per_mL*cells-of-phenotype/live_cells)*100. The output from this function is a dataframe that can be manipulated for visualization of cell phenotypes from each group

Usage

flowmalizr(path)

Arguments

path

character string that leads to path_to_data

Value

Longer dataframe with data under new "name", "cells_from_total", and "percentage_of_total" columns.

Examples

path_to_data <- system.file("extdata", "example_data.xlsx", package = "flowmalizr")
flowmalizr(path_to_data)


pmlnado/flowmalizr documentation built on May 20, 2022, 3:19 a.m.