|
1 | 1 | #' nfTransform |
2 | 2 | #' |
3 | 3 | #' @title nfTransform |
4 | | -#' @description Data transformation. |
5 | | -#' @param transTypeTable Table with the transformation parameters |
6 | | -#' @param dataA dataA |
7 | | -#' @param dataB dataB |
| 4 | +#' @description Data transformation, this function run within the prep_fcd wrapper. |
| 5 | +#' @param transTypeTable Table with the transformation parameters. |
| 6 | +#' @param dataA dataA. |
| 7 | +#' @param dataB dataB, same as dataA. |
8 | 8 | #' @return transformed flow cytometry dataset |
9 | 9 | #' |
10 | 10 | #' @export |
@@ -90,11 +90,11 @@ nfTransform <- function(transTypeTable, dataA, dataB){ |
90 | 90 | #' prepFcsFolderData |
91 | 91 | #' |
92 | 92 | #' @title prepFcsFolderData |
93 | | -#' @description Load the .fcs files into a dataframe |
94 | | -#' @param LoaderPATH Path to the .fcs files |
95 | | -#' @param ceil number of cells to subset |
96 | | -#' @param useCSV Logical, if input is .csv and not .fcs |
97 | | -#' @param separator Separato used the flow csv files (if loading from csv) |
| 93 | +#' @description Load .fcs or .csv files into a dataframe and prepare the condor object. |
| 94 | +#' @param LoaderPATH Path to the .fcs files. |
| 95 | +#' @param ceil number of cells to subset. |
| 96 | +#' @param useCSV Logical, if input is .csv and not .fcs. |
| 97 | +#' @param separator Separator used the flow csv files (if loading from csv). |
98 | 98 | #' @import flowCore |
99 | 99 | #' @import reshape2 |
100 | 100 | #' @import dplyr |
@@ -172,17 +172,17 @@ prepFcsFolderData <- function(LoaderPATH, ceil, useCSV, separator){ |
172 | 172 |
|
173 | 173 | #' Read FlowJo workspace |
174 | 174 | #' |
175 | | -#' @title read_flowjo_workspace |
176 | | -#' @description read_flowjo_workspace |
177 | | -#' @param data_gs XX |
178 | | -#' @param pop XX |
179 | | -#' @param gate_list XX |
180 | | -#' @param inverse.transform XX |
181 | | -#' @param transformation XX |
182 | | -#' @param remove_param XX |
183 | | -#' @param merge_anno XX |
184 | | -#' @param anno_table XX |
185 | | -#' @param separator_anno XX |
| 175 | +#' @title Read FlowJo Workspace |
| 176 | +#' @description read_flowjo_workspace and prepare the condor object |
| 177 | +#' @param data_gs Gate Set object from flowWorkspace Package. |
| 178 | +#' @param pop Gate to keep for downstream analysis (default: 'root'). |
| 179 | +#' @param gate_list Gate List of the FlowJo Workspace. |
| 180 | +#' @param inverse.transform Logical: if the data should be reverse transformed of kept with FlowJo transformation (default = FALSE). |
| 181 | +#' @param transformation If inverse.transform = TRUE, type of new transformation to perform (see nfTransform). |
| 182 | +#' @param remove_param Parameters to be removed from the condor object. |
| 183 | +#' @param merge_anno Logical: If sample anno should be merged to the condor object. |
| 184 | +#' @param anno_table Path to annotation table. |
| 185 | +#' @param separator_anno Separator of the .csv annotation table. |
186 | 186 | #' @import flowWorkspace |
187 | 187 | #' @import Biobase |
188 | 188 | #' @import CytoML |
@@ -294,15 +294,15 @@ prep_fjw <- function(data_gs, |
294 | 294 | #' @title prep_fcd |
295 | 295 | #' @description Wrapping function to prepare a flow cytometry dataset |
296 | 296 | #' @param FCSpath Folder where the .fcs files are stored. |
297 | | -#' @param ceil Number of cells to use for each file (set to a high number if you want to use all available events) |
| 297 | +#' @param ceil Number of cells to use for each file (set to a high number if you want to use all available events). |
298 | 298 | #' @param useCSV Flag if the input are .csv files and not .fcs (experimental). |
299 | 299 | #' @param transformation Transformation to perform. |
300 | | -#' @param remove_param Parameters to remove from the trasfomration, "inTime" should be kept. |
| 300 | +#' @param remove_param Parameters to remove from the transformation, "inTime" should be kept. |
301 | 301 | #' @param anno_table path to the annotation table file. |
302 | 302 | #' @param filename_col Name of the column containing the filename matching with the .fcs files. |
303 | 303 | #' @param seed seed to be used for the randomization of the events. |
304 | | -#' @param separator_anno separator used in the annotation file |
305 | | -#' @param separator_fc_csv separator used in the fc csv files |
| 304 | +#' @param separator_anno separator used in the annotation file. |
| 305 | +#' @param separator_fc_csv separator used in the fc csv files. |
306 | 306 | #' @import readr |
307 | 307 | #' @import readxl |
308 | 308 | #' @import stringr |
|
0 commit comments