check_inputs: Check inputs

View source: R/check_inputs.R

check_inputsR Documentation

Check inputs

Description

Check inputs prior to running Libra functions

Usage

check_inputs(
  input,
  meta = meta,
  replicate_col = "replicate",
  cell_type_col = "cell_type",
  label_col = "label"
)

Arguments

input

a single-cell matrix to be converted, with features (genes) in rows and cells in columns. Alternatively, a Seurat, monocole3, or or SingleCellExperiment object can be directly input.

meta

the accompanying meta data whereby the rownames match the column names of input.

replicate_col

the vector in meta containing the replicate information. Defaults to replicate.

cell_type_col

the vector in meta containing the cell type information. Defaults to cell_type.

label_col

the vector in meta containing the experimental label. Defaults to label.

Value

a cleaned up expression matrix and meta data object


neurorestore/Libra documentation built on Aug. 31, 2024, 8:53 p.m.