Add data to the original FCS files

Share:

Description

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

Usage

1
2
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