Entering edit mode

Adrian Johnson
▴
330

@adrian-johnson-2728
Last seen 2.8 years ago

Dear Bioconductor, slingshot experts,

While capturing top differential expression genes, I am using the following function. I am using seurat object (seu). I am unable to find where I can find residual_variance. Could someone help. Thanks Adrian

```
top_hvg <- HVFInfo(seu) %>%
mutate(., bc = rownames(.)) %>%
arrange(desc(residual_variance)) %>%
top_n(300, residual_variance) %>%
pull(bc)
Error: object 'residual_variance' not found
```

I'm sorry, I'm not sure I understand how this is related to Slingshot. All the functions used here seem to be from either Seurat or dplyr.

According to the

`HVFInfo`

documentation, that function returns a data frame with means, dispersion, and scaled dispersion, but it makes no mention of residual variance.I'm sorry, I'm not sure I understand how this is related to Slingshot. All the functions used here seem to be from either Seurat or dplyr.

According to the

`HVFInfo`

documentation, that function returns a data frame with means, dispersion, and scaled dispersion, but it makes no mention of residual variance.