Skip to content

issue with get_normalized_count_table.R #75

Description

@Malabady

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,

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions