correct_data_channels: Normalize data

View source: R/normalize_cytof.R

correct_data_channelsR Documentation

Normalize data

Description

This function performs the actual normalization

Usage

correct_data_channels(
  m,
  beads.data,
  baseline,
  beads.col.names,
  time.col.name = "Time"
)

Arguments

m

The data matrix

beads.data

The beads.data for this data matrix. This would typically be a subset of the rows representing the bead events

baseline

A vector of values containing the bead channels values to be used as baseline for normalization

beads.col.names

A vector with the names of the beads channels

time.col.name

The name of the time column

Value

Returns a list with the following components

  • m.normed The normalized data matrix

  • beads.smoothed A matrix containing the smoothed beads data

  • beads.normed A matrix containing the normalized beads data

  • beads.slopes A matrix containing the calculated beadlsopes with nrow(beads.slopes) = nrow(beads.data) and two columns: time and slope


ParkerICI/premessa documentation built on Sept. 16, 2022, 3:06 p.m.