You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
#' @param fill_missing_values A boolean. Whether to fill missing sample/transcript values with the median of the transcript. This is rarely needed.
1845
1845
#' @param scaling_method A character string. The scaling method passed to the back-end function (i.e., edgeR::calcNormFactors; "TMM","TMMwsp","RLE","upperquartile")
1846
1846
#' @param omit_contrast_in_colnames If just one contrast is specified you can choose to omit the contrast label in the colnames.
1847
+
#' @param prefix A character string. The prefix you would like to add to the result columns. It is useful if you want to compare several methods.
1847
1848
#' @param action A character string. Whether to join the new information to the input tbl (add), or just get the non-redundant tbl with the new information (get).
1848
1849
#'
1849
1850
#' @details This function provides the option to use edgeR \url{https://doi.org/10.1093/bioinformatics/btp616}, limma-voom \url{https://doi.org/10.1186/gb-2014-15-2-r29}, or DESeq2 \url{https://doi.org/10.1186/s13059-014-0550-8} to perform the testing.
if (is_present(significance_threshold) &!is.null(significance_threshold)) {
1965
+
1966
+
# Signal the deprecation to the user
1967
+
deprecate_warn("1.1.7", "tidybulk::test_differential_abundance(significance_threshold = )", details="The argument significance_threshold is now deprecated please look at the resulting statistics to do the filtering (e.g., filter(., FDR < 0.05))")
1968
+
1969
+
}
1970
+
1971
+
# DEPRECATION OF fill_missing_values
1972
+
if (is_present(fill_missing_values) &!is.null(significance_threshold)) {
1973
+
1974
+
# Signal the deprecation to the user
1975
+
deprecate_warn("1.1.7", "tidybulk::test_differential_abundance(fill_missing_values = )", details="The argument fill_missing_values is now deprecated, you will receive a warning/error instead. Please use externally the methods fill_missing_abundance or impute_missing_abundance instead.")
1976
+
1977
+
}
1978
+
1955
1979
# Clearly state what counts are used
1956
-
message("tidybulk says: All methods use raw counts, irrespective of if scale_abundance or adjust_abundance have been calculated, therefore it is essential to add covariates such as batch effects (if applicable) in the formula.")
1980
+
message("tidybulk says: All methods use raw counts,
1981
+
irrespective of if scale_abundance or adjust_abundance have been calculated,
1982
+
therefore it is essential to add covariates such as batch effects (if applicable) in the formula.")
0 commit comments