Skip to content

Error in $<-.data.frame(*tmp*, "replicate", value = integer(0)) #55

Description

@yuanG2000

hi,i got an erro below,when i run function run_de

r$> DE = run_de(sce)
Error in $<-.data.frame(*tmp*, "replicate", value = integer(0)) :
replacement has 0 rows, data has 87395

sce is a seurat object,and metadata contains column cell_type and label
orig.ident nCount_RNA nFeature_RNA percent.mt percent.rb sample
AAACCCAAGGCGTTGA-1_1 K10611T_1 631 490 0.47543582 1.2678288 K10611T_1
AAACCCAGTCGCTCGA-1_1 K10611T_1 2826 1610 0.00000000 1.2738854 K10611T_1
AAACCCATCAGGAAGC-1_1 K10611T_1 867 709 0.57670127 0.8073818 K10611T_1
AAACCCATCCACAGGC-1_1 K10611T_1 1059 702 0.09442871 1.1331445 K10611T_1
AAACCCATCTCGTGGG-1_1 K10611T_1 3724 2152 0.02685285 0.6713212 K10611T_1
AAACGAAAGCGAGAAA-1_1 K10611T_1 654 510 0.76452599 1.2232416 K10611T_1
RNA_snn_res.0.8 seurat_clusters cell_type label
AAACCCAAGGCGTTGA-1_1 6 6 T cells T
AAACCCAGTCGCTCGA-1_1 4 4 PC T
AAACCCATCAGGAAGC-1_1 7 7 FIB T
AAACCCATCCACAGGC-1_1 11 11 Plasma cells T
AAACCCATCTCGTGGG-1_1 13 13 PC T
AAACGAAAGCGAGAAA-1_1 2 2 Macrophages T

couldyou please give a hand

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