Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

music_prop function is wrong #102

Open
herong2006 opened this issue Oct 27, 2022 · 1 comment
Open

music_prop function is wrong #102

herong2006 opened this issue Oct 27, 2022 · 1 comment

Comments

@herong2006
Copy link

GSE50244.bulk.eset = readRDS('GSE50244bulkeset.rds')
GSE50244.bulk.eset
bulk.mtx = exprs(GSE50244.bulk.eset)
bulk.meta = exprs(GSE50244.bulk.eset)

EMTAB.sce = readRDS('EMTABsce_healthy.rds')
EMTAB.sce

XinT2D.sce = readRDS('XinT2Dsce.rds')
XinT2D.sce

Bulk expression matrix

bulk.mtx = exprs(GSE50244.bulk.eset)

Estimate cell type proportions

Est.prop.GSE50244 = music_prop(bulk.mtx = bulk.mtx, sc.eset = EMTAB.sce, clusters = 'cellType',
samples = 'sampleID', select.ct = c('alpha', 'beta', 'delta', 'gamma',
'acinar', 'ductal'), verbose = F)
run with error:

Est.prop.GSE50244 = music_prop(bulk.mtx = bulk.mtx, sc.eset = EMTAB.sce, clusters = 'cellType',

  •                            samples = 'sampleID', select.ct = c('alpha', 'beta', 'delta', 'gamma',
    
  •                                                                'acinar', 'ductal'), verbose = F)
    

Error in music_basis(sc.sce, non.zero = TRUE, markers = sc.markers, clusters = clusters, :
argument "sc.sce" is missing, with no default

@FrankStarling
Copy link

I have also encountered this problem as well and created a separate issue #111. Would appreciate any suggestions if you ever found a solution.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants