You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a dataset that I am training a HIBAG model on, which I would then like to combine with an existing HIBAG model so that I can incorporate HLA alleles outside of my training set. In order to do so, I have set the snpid in my training data to the pre-existing model's snp.id set (N = 966 SNPs). I can confirm that the length of my train.geno$snp.sel is in fact 966, but when I begin to train my HIBAG model it immediately removes 6 SNPs with the line: Exclude 6 monomorphic SNPs
Removing monomorphic SNPs before training a HIBAG model makes plenty of sense, but is there any parameter that allows me to force these SNPs into the model? Without those 6 SNPs in my model, I cannot combine my own trained model with the other model of interest. Here is the error code I receive: Error: identical(obj1$snp.id, obj2$snp.id) is not TRUE, where the only differences between the snp.id values are the 6 monomorphic SNP sites. Is there some way to force monomorphic SNPs into the model so that I can ultimately combine them?
The text was updated successfully, but these errors were encountered:
I have a dataset that I am training a HIBAG model on, which I would then like to combine with an existing HIBAG model so that I can incorporate HLA alleles outside of my training set. In order to do so, I have set the
snpid
in my training data to the pre-existing model'ssnp.id
set (N = 966 SNPs). I can confirm that the length of mytrain.geno$snp.sel
is in fact 966, but when I begin to train my HIBAG model it immediately removes 6 SNPs with the line:Exclude 6 monomorphic SNPs
Removing monomorphic SNPs before training a HIBAG model makes plenty of sense, but is there any parameter that allows me to force these SNPs into the model? Without those 6 SNPs in my model, I cannot combine my own trained model with the other model of interest. Here is the error code I receive:
Error: identical(obj1$snp.id, obj2$snp.id) is not TRUE
, where the only differences between thesnp.id
values are the 6 monomorphic SNP sites. Is there some way to force monomorphic SNPs into the model so that I can ultimately combine them?The text was updated successfully, but these errors were encountered: