Skip to content

tidyseurat::aggregate_cells doesn't pull all meta.data columns of Seurat object? #81

@denvercal1234GitHub

Description

@denvercal1234GitHub

Hi there,

Thanks for a great tool.

tidyseurat::aggregate_cells only pull some but not all metadata columns of the original Seurat object.

Would you mind taking a look?

Thank you again.

seuratObj %>% tidyseurat::aggregate_cells(.sample = c(Leiden39PCRes1p2_clusterID_2024Jan09), assays = "SCT", slot = "data", aggregation_function=Matrix::rowSums) |> filter(.feature %in% gene_vector) -> seuratObj_Data

> ncol(seuratObj_Data)
[1] 25
> ncol(seuratObj@meta.data)
[1] 92

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions