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

AggregateExpression on CITEseq protein data #9648

Open
yacine902 opened this issue Jan 24, 2025 · 0 comments
Open

AggregateExpression on CITEseq protein data #9648

yacine902 opened this issue Jan 24, 2025 · 0 comments
Labels
bug Something isn't working

Comments

@yacine902
Copy link

When calling AggregateExpression on CITEseq protein data:

bulk.pro <- AggregateExpression(seu, group.by = c("patient"), return.seurat = TRUE, 
normalization.method = 'CLR', margin = 2, assays = "ADT")

I noticed an issue with the normalized data, in that it was CLR normalized with margin = 1 instead of 2:

bulk.pro1 <- AggregateExpression(seu, group.by = c("patient"), return.seurat = TRUE, 
normalization.method = 'CLR', margin = 1, assays = "ADT")
bulk.pro2 <- AggregateExpression(seu, group.by = c("patient"), return.seurat = TRUE, 
normalization.method = 'CLR', margin = 2, assays = "ADT")

all.equal(bulk.pro1[["ADT"]]['data'], bulk.pro2[["ADT"]]['data'])
# return TRUE

Using Seurat_5.0.2

@yacine902 yacine902 added the bug Something isn't working label Jan 24, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant