Skip to content

Commit 8bb42fe

Browse files
alternative is to drop from fam
1 parent 34a260d commit 8bb42fe

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

R/segmentPedigree.R

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -89,6 +89,7 @@ if(keep_string==TRUE) {
8989
ped[[famID]] <- NULL
9090
} else {
9191
overwrite_message <- "not be overwritten."
92+
fam[[famID]] <- NULL
9293
}
9394

9495
warning(sprintf("The famID variable '%s' already exists in the pedigree. The existing variable will %s", famID, overwrite_message))

0 commit comments

Comments
 (0)