scClustViz icon indicating copy to clipboard operation
scClustViz copied to clipboard

Capitalization for embeddings needs fixing

Open innesbre opened this issue 4 years ago • 0 comments

If embedding names are capitalized, getEmb fails.

sce <- SingleCellExperiment(
  assays=list(counts=matrix(nrow=10,ncol=10),
              logcounts=matrix(nrow=10,ncol=10),
  reducedDims=list(PCA=matrix(nrow=10,ncol=10),
                   TSNE=matrix(nrow=10,ncol=10)
)
seur <- as.Seurat(sce)

getEmb(seur,"TSNE") #fails
getEmb(seur,"tsne") #fails

innesbre avatar Mar 01 '21 12:03 innesbre