Skip to content

Commit 7f58287

Browse files
authored
changed survival object in single protein summary
1 parent 7c5405d commit 7f58287

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

R/dataProcess.R

+2-1
Original file line numberDiff line numberDiff line change
@@ -315,7 +315,8 @@ MSstatsSummarizeSingleTMP = function(single_protein, impute, censored_symbol,
315315
predicted, newABUNDANCE)]
316316
survival = single_protein[, c(cols, "predicted"), with = FALSE]
317317
} else {
318-
survival = NULL
318+
survival = single_protein
319+
survival[, predicted := NA]
319320
}
320321

321322
single_protein = .isSummarizable(single_protein, remove50missing)

0 commit comments

Comments
 (0)