Skip to content

Commit f4e6a97

Browse files
authored
fix(diann): Convert zeros to NAs (#114)
1 parent c7756a9 commit f4e6a97

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

R/converters_DIANNtoMSstatsFormat.R

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -133,6 +133,7 @@ DIANNtoMSstatsFormat = function(input, annotation = NULL,
133133
summarize_multiple_psms = max),
134134
columns_to_fill = list(Fraction = 1,
135135
IsotopeLabelType = "Light"))
136+
input[, Intensity := ifelse(Intensity == 0, NA, Intensity)]
136137

137138
input = MSstatsConvert::MSstatsBalancedDesign(input, feature_columns,
138139
fill_incomplete = FALSE,

0 commit comments

Comments
 (0)