Skip to content

Commit

Permalink
Update select-msfeature-msstats.R
Browse files Browse the repository at this point in the history
  • Loading branch information
mstaniak authored Feb 26, 2020
1 parent a2832dc commit 3ae3e05
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions R/select-msfeature-msstats.R
Original file line number Diff line number Diff line change
Expand Up @@ -241,6 +241,7 @@ flag_noninf_data <- function(processedData) {
# Shrinkage variance estimation with limma
eb_fit <- limma::squeezeVar(var_protein$var_resid, var_protein$df_resid, robust = TRUE)
var_protein <- var_protein %>%
ungroup() %>%
mutate(var_resid_eb = eb_fit$var.post) %>%
mutate(s_resid_eb = sqrt(var_resid_eb))

Expand Down

0 comments on commit 3ae3e05

Please sign in to comment.