We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 646655d commit 4408d65Copy full SHA for 4408d65
1 file changed
R/classes_methods.R
@@ -1940,14 +1940,11 @@ StripDown.RADdata <- function(object,
1940
return(object)
1941
}
1942
1943
-# Function to find allele indices for nearby loci.
+# Internal function to find allele indices for nearby loci.
1944
# locus can be the number or name of the locus.
1945
# distance is the distance in basepairs within which to search.
1946
# allele indices (not locus indices) are returned
1947
-FindNearbyAlleles <- function(object, ...){
1948
- UseMethod("FindNearbyAlleles", object)
1949
-}
1950
-FindNearbyAlleles.RADdata <- function(object, locus, distance){
+FindNearbyAlleles <- function(object, locus, distance){
1951
if(!all(c("Chr", "Pos") %in% names(object$locTable))){
1952
stop("Alignment data not present in RADdata object.")
1953
0 commit comments