Why does IntegrateLayers default to 2000 genes for StdAssay even when more HVGs are provided? #9804
Unanswered
wangbenwang123
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I noticed that when using
IntegrateLayers
with aStdAssay
(e.g.,RNA
), the function defaults to using only 2000 genes (VariableFeatures(..., nfeatures = 2000L)
), even if:FindVariableFeatures
was previously run withnfeatures > 2000
(e.g., 4000).RunPCA
) was computed using the full set of HVGs (~4000 genes).Code Example:
Questions:
IntegrateLayers
to use all HVGs (e.g., 4000) without manually specifyingfeatures
?features = VariableFeatures(sc)
seems to work, but is this the recommended approach?Context:
RNA
assay, notSCT
).Beta Was this translation helpful? Give feedback.
All reactions