R/get_99.R

Defines functions get_99

#' @param df the dataframe that contains the filtered FMO (so only the FMO filename has data for the FMO marker)
#'
#'
#' @export
#'
#'
get_99 <- function(df) {

  add_quantile <- df %>%
    group_by(filename) %>%
    summarise(quantile_99 = quantile(MFI, 0.99))

  return(add_quantile)
}
aef1004/mycyto documentation built on Dec. 18, 2021, 10:30 p.m.