Resolve Per-Variant Weights From a Weight Source
Source:R/AllGenerics.R, R/FineMappingEntry.R, R/TwasWeightsEntry.R
resolveWeights.RdReturn an aligned (variantIds, weights) pair from a single
weight-source entry, so cTWAS and causalInferencePipeline
extract weights identically whether the source is a
TwasWeightsEntry (its learned weight vector) or a
FineMappingEntry (its topLoci posterior effect).