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

offst(newSeqExpressionSet) contains NaNs and Inf values #13

Open
albptt opened this issue Jul 18, 2022 · 0 comments
Open

offst(newSeqExpressionSet) contains NaNs and Inf values #13

albptt opened this issue Jul 18, 2022 · 0 comments

Comments

@albptt
Copy link

albptt commented Jul 18, 2022

Good morning,
I am trying to perform GC content normalization using the following workflow:

expr_set <- newSeqExpressionSet(as.matrix(raw_counts), featureData = as.data.frame(geneInfoHT))

expr_set <– withinLaneNormalization(expr_set, "gcContent", which = "upper", offset = TRUE)

expr_set <- betweenLaneNormalization(expr_set, which = "upper", offset = TRUE)

normalized_counts <-  log(raw_counts[rownames(expr_set),] + .1) + offst(expr_set)

However, I notice that even if the raw_counts do not contain neither NaNs nor Inf values, the offset returned by the withinLaneNormalization function contains 4290 NaNs and 1347 Inf values.

Might these values be expected?

Thank you for the help!

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

1 participant