Learn R Programming

cytofkit (version 1.4.8)

cytof_addToFCS: Add data to the original FCS files

Description

Store the new dimension transformed data and cluster data into the exprs matrix in new fcs files under analyzedFCSdir

Usage

cytof_addToFCS(data, rawFCSdir, analyzedFCSdir, transformed_cols = c("tsne_1", "tsne_2"), cluster_cols = c("cluster"), inLgclTrans = TRUE)

Arguments

data
The new data matrix to be added in.
rawFCSdir
The directory containing the original fcs files.
analyzedFCSdir
The directory to store the new fcs files.
transformed_cols
the column name of the dimension transformend data in data.
cluster_cols
the column name of the cluster data in data.
inLgclTrans
Boolean value decides if apply the inverse lgcl transformation to the data before saving

Value

new fcs files stored under analyzedFCSdir