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
The loadings in my Seurat object's harmony information were generated from PCA using specified features, rather than PCA using variable features as the input. However, downstream analysis, including the buildReferenceFromSeurat function, uses variable genes. This causes an error when multiplying the matrices t(ref1$loadings) and exp_query_scaled_sync in mapQuery function because their dimensions do not match, which gives
Error in t(ref_obj$loadings) %*% exp_query_scaled_sync :
non-conformable arguments
If I need to use PCA with specified features for downstream analysis, including harmonization, how can I resolve this issue?
The text was updated successfully, but these errors were encountered:
The loadings in my Seurat object's harmony information were generated from PCA using specified features, rather than PCA using variable features as the input. However, downstream analysis, including the
buildReferenceFromSeurat
function, uses variable genes. This causes an error when multiplying the matrices t(ref1$loadings) and exp_query_scaled_sync inmapQuery
function because their dimensions do not match, which givesIf I need to use PCA with specified features for downstream analysis, including harmonization, how can I resolve this issue?
The text was updated successfully, but these errors were encountered: