Skip to content

Commit

Permalink
Remove deprecated keep_transitions
Browse files Browse the repository at this point in the history
  • Loading branch information
bodkan committed May 8, 2024
1 parent 4dbd76c commit b72798b
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 39 deletions.
1 change: 0 additions & 1 deletion NAMESPACE
Expand Up @@ -11,7 +11,6 @@ export(f3)
export(f4)
export(f4ratio)
export(filter_bed)
export(keep_transitions)
export(loginfo)
export(merge_eigenstrat)
export(qpAdm)
Expand Down
17 changes: 0 additions & 17 deletions R/eigenstrat.R
Expand Up @@ -195,23 +195,6 @@ filter_bed <- function(data, bed, remove = FALSE, outfile = tempfile(fileext = "



#' Remove transversions (C->T and G->A substitutions)
#'
#' Remove substitutions that are more likely to be a result of ancient DNA
#' damage (C->T and G->A substitutions).
#'
#' @param data EIGENSTRAT data object.
#' @param outfile Path to an output snp file with coordinates of excluded sites.
#'
#' @return Updated S3 EIGENSTRAT data object with an additional 'exclude' slot
#' specifying the path to the set of SNPs to be removed.
#'
#' @export
keep_transitions <- function(data, outfile = tempfile(fileext = ".snp")) {
.Deprecated("transversions_only")
transversions_only(data, outfile)
}

#' Remove transversions (C->T and G->A substitutions)
#'
#' Remove substitutions that are more likely to be a result of ancient DNA
Expand Down
21 changes: 0 additions & 21 deletions man/keep_transitions.Rd

This file was deleted.

0 comments on commit b72798b

Please sign in to comment.