Skip to content

Commit

Permalink
print weight when debugging
Browse files Browse the repository at this point in the history
  • Loading branch information
buutrg committed Dec 13, 2023
1 parent fc8491e commit 7bfad02
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions R/combine_PRS.R
Original file line number Diff line number Diff line change
Expand Up @@ -488,6 +488,9 @@ combine_PRS = function(
ww = ww / sd_train[match(names(ww), names(sd_train))]
}

if (debug) {
print(ww)
}
# print(ww)
test_data1 = test_data
test_data1[,topprs] = as.numeric(scale(test_data[,topprs]))
Expand Down

0 comments on commit 7bfad02

Please sign in to comment.