Skip to content

Instantly share code, notes, and snippets.

@kieranrcampbell
Created March 27, 2023 21:57
Show Gist options
  • Save kieranrcampbell/566316e1791ec946609825ff8f134970 to your computer and use it in GitHub Desktop.
Save kieranrcampbell/566316e1791ec946609825ff8f134970 to your computer and use it in GitHub Desktop.
## If you get the error
## > Error in `.rowNamesDF<-`(x, value = value) : invalid 'row.names' length
## after singleCellTK::runSeuratPCA(sce)
## then run
sce@metadata$seurat <- NULL
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment