From 69e1ed55355267205a77473c73c54440cb5bb7ac Mon Sep 17 00:00:00 2001 From: xuewei cao <36172337+xueweic@users.noreply.github.com> Date: Thu, 17 Apr 2025 17:10:13 -0400 Subject: [PATCH] Update colocboost_init.R --- R/colocboost_init.R | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/R/colocboost_init.R b/R/colocboost_init.R index 1223ecd..b9762fe 100644 --- a/R/colocboost_init.R +++ b/R/colocboost_init.R @@ -614,7 +614,7 @@ process_individual_data <- function(X, Y, dict_YX, target_variants, ind_id_Y <- rownames(Y[[i]]) ind_id_X <- rownames(X[[current_matrix_type]]) if (is.null(ind_id_X) || is.null(ind_id_Y)) { - stop("Please provide the sample index of X and Y, since they do not have the same samples!") + stop("Please provide the sample index of X and Y, since they do not have the same sample size!") } # Find matching samples pos <- match(ind_id_Y, ind_id_X)