Skip to content

logNormcounts() function doesn't work for my singlecellExperiment object #59

@tf1993614

Description

@tf1993614

sce <- SingleCellExperiment(list(counts = dge$counts))

clst <- quickCluster(sce, method="igraph", min.mean = 0.5)

sce <- computeSumFactors(sce, cluster = lst)`

libsize <- dge$samples$lib.size

plot(libsize/1e3, sizeFactors(sce), log="xy", pch=16, cex = 0.7, xlab = "library size(thousands)", ylab = "size factor")

sce <- logNormCounts(sce)

error message:
Error in assays<-(*tmp*, withDimnames = withDimnames, ..., value = *vtmp*) :
please use 'assay(x, withDimnames=FALSE)) <- value' or 'assays(x, withDimnames=FALSE)) <- value'
when the dimnames on the supplied assay(s) are not identical to the dimnames on
SingleCellExperiment object 'x'

Could you help me figure out this problem?

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