Minor changes for clean check
This commit is contained in:
parent
cabb3318dd
commit
db760fe899
7 changed files with 22159 additions and 6 deletions
|
|
@ -3,6 +3,7 @@
|
|||
#' @details For a list of global variables, check the \code{globals.R} file.
|
||||
#' @param g the global variable in quesiton.
|
||||
#' @return TRUE if the variable still contains its original values, FALSE otherwise.
|
||||
#' @importFrom stats sd
|
||||
#' @author Waldir Leoncio
|
||||
isGlobalEmpty <- function(g) {
|
||||
return(sum(g) == 0 & sd(g) == 0)
|
||||
|
|
|
|||
|
|
@ -9,11 +9,12 @@
|
|||
#' @return A character matrix with filtered SNP data
|
||||
#'
|
||||
#' @examples
|
||||
#' msa <- system.file("extdata", "seqs.fa", package = "rhierbaps")
|
||||
#' msa <- system.file("ext", "seqs.fa", package="rBAPS")
|
||||
#' snp.matrix <- load_fasta(msa)
|
||||
#'
|
||||
#' @author Gerry Tonkin-Hill
|
||||
#' @seealso rhierbaps::load_fasta
|
||||
#' @importFrom ape read.FASTA as.DNAbin
|
||||
#' @export
|
||||
load_fasta <- function(msa, keep.singletons=FALSE) {
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue