Skip to content

Error in evaluating the argument 'x' in selecting a method for function 'colnames': subscript out of bounds #26

@RunyuXia

Description

@RunyuXia

sce.sum <- aggregateAcrossCells(top,

  •           ids = top$SampleID,
    
  •           use_exprs_values="counts",
    
  •           statistics=FALSE)
    

Error in (function (cond) :
error in evaluating the argument 'x' in selecting a method for function 'colnames': subscript out of bounds.

Hi! I'm trying to run aggregateAcrossCells but keep getting the above error. My colnames is the cell barcode and SampleID column in my colData specifies which sample each cell comes from. I have checked that colnames and SampleID have the same length. I want to aggregate the cells based on the sample.

Thank you for your help!

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