Skip to contents

# Add statistical results from the diffcyt package to the fcd.

Source: `R/differential_testing.R`
`add_diffcyt_statistics.Rd`

Wrapper function to include the statistical results calculated using the diffcyt package into the fcd file.

## Usage

    add_diffcyt_statistics(fcd = condor, input, group1 = "ctrl", group2 = "pat")

## Arguments

fcd

  flow cytometry dataset, that has been subjected to clustering or cell type label prediction with cyCONDOR before.

input

  dataframe containing the statistical results from the diffcyt package. Example: `input <- as.data.frame(diffcyt::topTable(res_DA, all = TRUE))`.

group1

  First group of the comparison.

group2

  Second group of the comparison.

## Value

the fcd containing the statistical results from the diffcyt package

## Details

add_diffcyt_statistics