|
41 | 41 | #' variance among intensities from features. FALSE means that we cannot assume equal |
42 | 42 | #' variance among intensities from features, then we will account for heterogeneous |
43 | 43 | #' variation from different features. |
44 | | -#' @param censoredInt Missing values are censored or at random. |
45 | | -#' 'NA' (default) assumes that all 'NA's in 'Intensity' column are censored. |
46 | | -#' '0' uses zero intensities as censored intensity. |
47 | | -#' In this case, NA intensities are missing at random. |
48 | | -#' The output from Skyline should use '0'. |
49 | | -#' Null assumes that all NA intensites are randomly missing. |
50 | | -#' @param MBimpute only for summaryMethod = "TMP" and censoredInt = 'NA' or '0'. |
51 | | -#' TRUE (default) imputes missing values with 'NA' or '0' (depending on censoredInt option) |
52 | | -#' by Accelerated failure model. If set to FALSE, no missing values are imputed. |
53 | | -#' FALSE is appropriate only when missingness is assumed to be at random. |
| 44 | +#' @param censoredInt Indicates how censored missing values are encoded in the |
| 45 | +#' 'Intensity' column. 'NA' (default) treats all NA intensities as left-censored |
| 46 | +#' (i.e., below the limit of detection). '0' treats zero intensities as |
| 47 | +#' left-censored; in this case NA intensities are assumed to be missing at |
| 48 | +#' random and are not censored. Skyline output should use '0'. NULL assumes |
| 49 | +#' that all missing values are missing at random — no values are treated as |
| 50 | +#' censored, and imputation is disabled (MBimpute is ignored). |
| 51 | +#' @param MBimpute only for summaryMethod = "TMP" and censoredInt = 'NA' or '0'. |
| 52 | +#' TRUE (default) imputes censored missing values using an Accelerated Failure |
| 53 | +#' Time model. FALSE excludes censored observations from summarization entirely, |
| 54 | +#' treating them as missing at random; no imputed values are introduced. |
| 55 | +#' Has no effect when censoredInt = NULL, since no values are considered censored. |
54 | 56 | #' See MSstats vignettes for recommendations on which imputation option to use. |
55 | 57 | #' @param remove50missing only for summaryMethod = "TMP". TRUE removes the proteins |
56 | 58 | #' where every run has at least 50\% missing values for each peptide. FALSE is default. |
@@ -186,17 +188,20 @@ dataProcess = function( |
186 | 188 | #' variance among intensities from features. FALSE means that we cannot assume |
187 | 189 | #' equal variance among intensities from features, then we will account for |
188 | 190 | #' heterogeneous variation from different features. |
189 | | -#' @param censored_symbol Missing values are censored or at random. |
190 | | -#' 'NA' (default) assumes that all 'NA's in 'Intensity' column are censored. |
191 | | -#' '0' uses zero intensities as censored intensity. |
192 | | -#' In this case, NA intensities are missing at random. |
193 | | -#' The output from Skyline should use '0'. |
194 | | -#' Null assumes that all NA intensites are randomly missing. |
195 | | -#' @param remove50missing only for summaryMethod = "TMP". TRUE removes the proteins |
| 191 | +#' @param censored_symbol Indicates how censored missing values are encoded in |
| 192 | +#' the 'Intensity' column. 'NA' (default) treats all NA intensities as |
| 193 | +#' left-censored (i.e., below the limit of detection). '0' treats zero |
| 194 | +#' intensities as left-censored; in this case NA intensities are assumed to be |
| 195 | +#' missing at random and are not censored. Skyline output should use '0'. NULL |
| 196 | +#' assumes that all missing values are missing at random — no values are treated |
| 197 | +#' as censored, and imputation is disabled (impute is ignored). |
| 198 | +#' @param remove50missing only for summaryMethod = "TMP". TRUE removes the proteins |
196 | 199 | #' where every run has at least 50\% missing values for each peptide. FALSE is default. |
197 | | -#' @param impute only for summaryMethod = "TMP" and censoredInt = 'NA' or '0'. |
198 | | -#' TRUE (default) imputes 'NA' or '0' (depending on censoredInt option) by Accelated failure model. |
199 | | -#' FALSE uses the values assigned by cutoffCensored |
| 200 | +#' @param impute only for summaryMethod = "TMP" and censored_symbol = 'NA' or '0'. |
| 201 | +#' TRUE (default) imputes censored missing values using an Accelerated Failure |
| 202 | +#' Time model. FALSE excludes censored observations from summarization entirely, |
| 203 | +#' treating them as missing at random; no imputed values are introduced. |
| 204 | +#' Has no effect when censored_symbol = NULL, since no values are considered censored. |
200 | 205 | #' @param numberOfCores Number of cores for parallel processing. When > 1, |
201 | 206 | #' a logfile named `MSstats_dataProcess_log_progress.log` is created to |
202 | 207 | #' track progress. Only works for Linux & Mac OS. Default is 1. |
|
0 commit comments