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

issue with get_normalized_count_table.R #75

Open
Malabady opened this issue Oct 16, 2022 · 0 comments
Open

issue with get_normalized_count_table.R #75

Malabady opened this issue Oct 16, 2022 · 0 comments

Comments

@Malabady
Copy link

Hi,
I am having an issue with the R script `get_normalized_count_table.R'. Basically, when I run this script I get the following error:

Error in `[.data.frame`(complete_table, , lapply(.SD, sum), by = complete_table$Row.names) :
  unused argument (by = complete_table$Row.names)
Calls: [
Execution halted

I started debugging the script by running it step by step and found the error at the following part of the code:

# reducing stuff down to avoid duplicates
complete_table <- complete_table[, lapply(.SD, sum), by=complete_table$Row.names]

I have tried many modifications of this line of the code but none worked.

Any help will be much appreciated.

Best,

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