Skip to content

error with scrublet calls in Seurat metadata  #20

@GreyRockIQ

Description

@GreyRockIQ

Hello
I am getting error with the code that you have given in 10k pbmc analysis in R for keeping scrublet calls in metadata
code given:
doublets <- read.table("../data/scrublet_calls.tsv",header = F,row.names = 1)
colnames(doublets) <- c("Doublet_score","Is_doublet")
srat <- AddMetaData(srat,doublets)
head(srat[[]])

Error: duplicate 'row.names' are not allowed

Any suggestions to correct this error?
Thanks
GreyRock

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions