Skip to content

Error when using SCDC_prop  #37

Description

@doliv071

Hi, I'm getting an error when attempting to perform SCDC with batches using SCDC_prop. The exact error I'm getting is:

Error in sc.basis$sigma[commongenes, ct.sub] : subscript out of bounds

I've tracked the error to SCDC_basis failing to assign row names to the sigma matrix. so that commongenes cannot be used to subset the matrix.

I've managed to work around the error by reassigning rownames from the mean.mat from which sigma is derived via

rownames(sigma) <- rownames(mean.mat)

(I checked on my local dataset that rownames(mean.mat) are identical to the names of the returned vector from the sapply function that builds the sigma object)

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