Skip to content

Commit

Permalink
updated documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
explodecomputer committed Oct 12, 2020
1 parent 1c26512 commit ce71241
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ Remotes:
License: MIT + file LICENSE
LazyData: true
VignetteBuilder: knitr
RoxygenNote: 7.1.0
RoxygenNote: 7.1.1
Encoding: UTF-8
Suggests:
covr,
Expand Down
6 changes: 3 additions & 3 deletions R/harmonise.R
Original file line number Diff line number Diff line change
Expand Up @@ -36,9 +36,9 @@
#' @param exposure_dat Output from \code{read_exposure_data}.
#' @param outcome_dat Output from \code{extract_outcome_data}.
#' @param action Level of strictness in dealing with SNPs.
#' * `action = 1`: Assume all reference alleles are on the positive strand, i.e. do nothing (warning - this is very risky and is not recommended);
#' * `action = 2`: Try to infer positive strand alleles, using allele frequencies for palindromes;
#' * `action = 3`: Correct strand for non-palindromic SNPs, and drop all palindromic SNPs from the analysis.
#' * `action = 1`: Assume all alleles are coded on the forward strand, i.e. do not attempt to flip alleles
#' * `action = 2`: Try to infer positive strand alleles, using allele frequencies for palindromes (default, conservative);
#' * `action = 3`: Correct strand for non-palindromic SNPs, and drop all palindromic SNPs from the analysis (more conservative).
#' If a single value is passed then this action is applied to all outcomes.
#' But multiple values can be supplied as a vector, each element relating to a different outcome.
#'
Expand Down
6 changes: 3 additions & 3 deletions man/harmonise_data.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit ce71241

Please sign in to comment.