Skip to content

Wrong R script "{overwrite = TRUE.} in Add_Cell_QC_Metrics #165

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

Closed
chaesee1 opened this issue Mar 5, 2024 · 1 comment
Closed

Wrong R script "{overwrite = TRUE.} in Add_Cell_QC_Metrics #165

chaesee1 opened this issue Mar 5, 2024 · 1 comment

Comments

@chaesee1
Copy link

chaesee1 commented Mar 5, 2024

qc_orig <- Add_Cell_QC_Metrics(seurat_object = qc_orig, species = "human", overwrite = T)

#Adding Mito/Ribo Percentages to meta.data.
#Columns with "percent_mito" and/or "percent_ribo" already present in meta.data slot.
#! Overwriting those columns as overwrite = TRUE.
#Adding Cell Complexity #1 (log10GenesPerUMI) to meta.data.
#Adding Cell Complexity #2 (Top 50 Percentages) to meta.data.
#Calculating percent expressing top 50 for layer: counts
#Adding MSigDB Oxidative Phosphorylation, Apoptosis, and DNA Repair Percentages to meta.data.
#Adding IEG Percentages to meta.data.
#Layer with normalized data not present.
#ℹ Normalizing Data.
#Normalizing layer: counts
#Performing log-normalization
#0% 10 20 30 40 50 60 70 80 90 100%
#[----|----|----|----|----|----|----|----|----|----|
#**************************************************|
#Error in lapply(text, glue_cmd, .envir = .envir):
#! Could not evaluate cli {} expression: overwrite = TRUE..
#Caused by error in eval(expr, envir = envir):
#! object 'TRUE.' not found
#Type .Last.error to see the more details.

sessionInfo() output
PASTE HERE sessionInfo() output
@samuel-marsh
Copy link
Owner

Hi @chaesee1,

Apologies for the bug! This is now fixed in the develop branch (v2.1.2.9002). If you have any issues running the function aftering updating to the dev branch please let me know and I'll reopen the issue.

Thanks!
Sam

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