Skip to content

Commit 00dc6a3

Browse files
fixed ped2mit error
1 parent 4bdc3e2 commit 00dc6a3

2 files changed

Lines changed: 2 additions & 3 deletions

File tree

NEWS.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
* Fixed missing checkpoint for ram_checkpoint
77
* Try a chunk_size argument for ped2com to reduce memory usage during transpose
88
* Try filter method for whose relatedness to return by individual ID
9-
* **Breaking change:** renamed `ytemp` parameter to `obs_ids` in `buildOneFamilyGroup()` and `buildFamilyGroups()` for clarity
9+
* Renamed `ytemp` parameter to `obs_ids` in `buildOneFamilyGroup()` and `buildFamilyGroups()` for clarity
1010
* Expanded v6 vignette with data requirements reference and real-data workflow using the `hazard` dataset
1111

1212
# BGmisc 1.6.0.1

vignettes/articles/v61_pedigree_model_fitting.Rmd

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ for (i in seq_along(n_families)) {
8484
phenotypic_ids <- ped_i$ID[!is.na(ped_i$lrs)]
8585
A_i <- as.matrix(ped2add(ped_i, sparse = FALSE, keep_ids = phenotypic_ids))
8686
Cn_i <- as.matrix(ped2cn(ped_i, sparse = FALSE, keep_ids = phenotypic_ids))
87-
Mt_i <- as.matrix(ped2mtd(ped_i, sparse = FALSE, keep_ids = phenotypic_ids))
87+
Mt_i <- as.matrix(ped2mit(ped_i, sparse = FALSE, keep_ids = phenotypic_ids))
8888
8989
n_i <- nrow(A_i)
9090
id_order_i <- rownames(A_i)
@@ -106,7 +106,6 @@ for (i in seq_along(n_families)) {
106106
}
107107
108108
109-
110109
group_models <- lapply(seq_len(n_families), function(i) {
111110
buildOneFamilyGroup(
112111
group_name = paste0("ped", i),

0 commit comments

Comments
 (0)