tof_read_csv: Read high-dimensional cytometry data from a .csv file into a...

View source: R/io.R

tof_read_csvR Documentation

Read high-dimensional cytometry data from a .csv file into a tidy tibble.

Description

Read high-dimensional cytometry data from a .csv file into a tidy tibble.

Usage

tof_read_csv(file_path = NULL, panel_info = dplyr::tibble())

Arguments

file_path

A file path to a single .csv file.

panel_info

Optional. A tibble or data.frame containing information about the panel used during high-dimensional cytometry data acquisition. Two columns are required: "metals" and "antigens".

Value

A 'tof_tbl' in which each row represents a single cell and each column represents a high-dimensional cytometry antigen channel.

A 'tof_tbl' is an S3 class that extends the "tibble" class by storing one additional attribute: "panel" (a tibble storing information about the panel used during data acquisition). Because panel information isn't obvious from data read as a .csv file, this information must be provided manually from the user (unlike in 'tof_read_fcs').


keyes-timothy/tidytof documentation built on May 7, 2024, 12:33 p.m.