Skip to content

Commit

Permalink
New ids.R source file
Browse files Browse the repository at this point in the history
  • Loading branch information
jefferis committed Oct 11, 2021
1 parent 948ef08 commit 6543f35
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
3 changes: 3 additions & 0 deletions R/ids.R
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
valid_vfbids <- function(x) {
grepl("^VFB_[0-9A-z]{8}$", x, perl = T)
}
4 changes: 0 additions & 4 deletions R/utils.R
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,3 @@ null2na <- function(x, repl=NA) {
if(length(y)==0) repl else y
})
}

valid_vfbids <- function(x) {
grepl("^VFB_[0-9A-z]{8}$", x, perl = T)
}

0 comments on commit 6543f35

Please sign in to comment.