fluorescence_to_zscore_table: Transform fluorescence values into z-scores

View source: R/03_fluorescence_to_zscore_table.R

fluorescence_to_zscore_tableR Documentation

Transform fluorescence values into z-scores

Description

Converts an annotated data frame of fluorescence data into z-scores.

Usage

fluorescence_to_zscore_table(
  fluorescence_table,
  fluorescence_columns,
  output_file = NULL
)

Arguments

fluorescence_table

data.frame. An annotated table of fluorescence values. See hTF_v1_annotation for expected annotation columns.

fluorescence_columns

character. The names of the columns of fluorescence_table that contain fluorescence data.

output_file

character(1) or NULL. The path to the file where the results should be saved, or NULL not to save the results. (Default: NULL)

Details

Raw fluorescence values are normalized against the fluorescence values of the background probes. Specifically, all the fluorescence values for a given PBM condition are log-transformed. Then a z-score-like statistic is calculated using the mean and standard deviation of the fluorescence values of the background probes in that condition.

Value

A data frame of fluorescence z-scores and the corresponding probe information. See hTF_v1_annotation for a description of the probe annotation columns.

See Also

hTF_v1_annotation for a description of the probe annotation columns.

Examples

print("FILL THIS IN")

Siggers-Lab/hTF_array documentation built on Feb. 7, 2024, 11:25 p.m.