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

goolam.R does not run without error #34

Open
benearnthof opened this issue Apr 14, 2020 · 1 comment
Open

goolam.R does not run without error #34

benearnthof opened this issue Apr 14, 2020 · 1 comment

Comments

@benearnthof
Copy link

When running goolam.R to convert the data into a SingleCellExperiment line 17
sceset <- create_sce_from_counts(d, ann)
causes the following error:
Error in .calculate_cpm(assay(x, exprs_values), ...) : unused argument (use.size.factors = FALSE)
Traceback information:
`Error in .calculate_cpm(assay(x, exprs_values), ...) :
unused argument (use.size.factors = FALSE)
9. .local(x, ...)
8. .nextMethod(x = x, size_factors = size_factors, ...)
7. eval(call, callEnv)
6. eval(call, callEnv)
5. callNextMethod(x = x, size_factors = size_factors, ...)
4. .local(x, ...)
3. calculateCPM(sceset, use.size.factors = FALSE)
2. calculateCPM(sceset, use.size.factors = FALSE) at create_sce_mirror.R#14

  1. create_sce_from_counts(d, ann)
    `
    R version 3.6.1; This happenes under both Windows 10 and Ubuntu 18.04
@lry199010
Copy link

into this function: sceset <- create_sce_from_counts(d, ann)
change: exprs(sceset) <- log2(calculateCPM(sceset, use.size.factors = FALSE) + 1)
correct:
exprs(sceset) <- log2(calculateCPM(sceset) + 1)

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