Skip to content

Commit

Permalink
remove $
Browse files Browse the repository at this point in the history
  • Loading branch information
cpanse committed Mar 19, 2021
1 parent 194531e commit ced9a70
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/rawDiag.R
Original file line number Diff line number Diff line change
Expand Up @@ -1189,7 +1189,7 @@ PlotMzDistribution <- function(x, method='trellis'){
PlotMassDistribution <- function(x, method = 'trellis'){
res <- x %>% dplyr::filter_at(vars("MSOrder"), any_vars(. == "Ms2")) %>%
dplyr::select_at(vars("ChargeState", "PrecursorMass", "filename"))
res$deconv <- round((res$PrecursorMass -1.00782) * res$ChargeState, 0)$
res$deconv <- round((res$PrecursorMass -1.00782) * res$ChargeState, 0)
res <- dplyr::mutate_at(res, vars("ChargeState"), list(~ factor(.)))
#res <- dplyr::mutate_at(res, vars("ChargeState"), funs(factor(.)))

Expand Down

0 comments on commit ced9a70

Please sign in to comment.