slingshot icon indicating copy to clipboard operation
slingshot copied to clipboard

How do I extract feature_info in my rds file?

Open Saumya513 opened this issue 1 year ago • 4 comments

I want to do a trajectory analysis using slingshot on my seurat object. But the function feature_mapper that is created uses feature_info. How do I extract this from my seurat object?

Any help will be appreciated?

Saumya513 avatar Jan 29 '24 06:01 Saumya513

Hi @Saumya513,

Thanks for the question! In order to run Slingshot, you will first need to convert your Seurat object into a SingleCellExperiment object using the function as.SingleCellExperiment. There is no way to run Slingshot directly on a Seurat object.

Best, Kelly

kstreet13 avatar Jan 29 '24 21:01 kstreet13

Dear Kelly, I tried to run

lineages <- getLineages(data = dimred, clusterLabels = clustering)

I was getting this error:

Error: useNames = NA is defunct. Instead, specify either useNames = TRUE or useNames = FALSE.

I'd appreciate your help.

Thanks and regards, Saumya Gupta

On Tue, Jan 30, 2024 at 3:15 AM Kelly Street @.***> wrote:

Hi @Saumya513 https://github.com/Saumya513,

Thanks for the question! In order to run Slingshot, you will first need to convert your Seurat object into a SingleCellExperiment object using the function as.SingleCellExperiment. There is no way to run Slingshot directly on a Seurat object.

Best, Kelly

— Reply to this email directly, view it on GitHub https://github.com/kstreet13/slingshot/issues/242#issuecomment-1915627762, or unsubscribe https://github.com/notifications/unsubscribe-auth/A4HQMNY733OVEESFRZGXJELYRAKBPAVCNFSM6AAAAABCO3CBEWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSMJVGYZDONZWGI . You are receiving this because you were mentioned.Message ID: @.***>

Saumya513 avatar Feb 03 '24 06:02 Saumya513

This is probably a result of having a few out-of-date packages installed. You can run BiocManager::install() to update any installed Bioconductor packages and you may also need to update (re-install) the Matrix and matrixStats packages.

kstreet13 avatar Feb 10 '24 01:02 kstreet13

Thanks, I'll check it out.

On Sat, 10 Feb 2024, 07:24 Kelly Street, @.***> wrote:

This is probably a result of having a few out-of-date packages installed. You can run BiocManager::install() to update any installed Bioconductor packages and you may also need to update (re-install) the Matrix and matrixStats packages.

— Reply to this email directly, view it on GitHub https://github.com/kstreet13/slingshot/issues/242#issuecomment-1936807336, or unsubscribe https://github.com/notifications/unsubscribe-auth/A4HQMNYYRNFPWPCXQYWNYALYS3HM7AVCNFSM6AAAAABCO3CBEWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSMZWHAYDOMZTGY . You are receiving this because you were mentioned.Message ID: @.***>

Saumya513 avatar Feb 10 '24 06:02 Saumya513