Skip to content

qc_cells function produces error with the cell-cycle file #1

@PiStefania

Description

@PiStefania

When executing the function:

cells.df = auto_cna_signal(
  'SAMPLES/sampleA',
  'genes.tsv',
  prefix = 'example',
  cell_cycle = 'cc_genes.tsv',
  use_cache = FALSE
)

using the files:

The error is the following:
<error/vctrs_error_subscript_type>
Must subset columns with a valid subscript vector.
x Subscript has the wrong type rlang_data_pronoun.
ℹ It must be numeric or character.
Backtrace:

  1. scCNAutils::auto_cna_signal(...)
  2. dplyr:::ungroup.grouped_df(., .data)
  3. tidyselect::vars_select(names(x), ...)
  4. tidyselect:::eval_select_impl(...)
  5. tidyselect:::vars_select_eval(...)
  6. tidyselect:::walk_data_tree(expr, data_mask, context_mask)
  7. tidyselect:::eval_c(expr, data_mask, context_mask)
  8. tidyselect:::reduce_sels(node, data_mask, context_mask, init = init)
  9. tidyselect:::walk_data_tree(new, data_mask, context_mask)
  10. tidyselect:::as_indices_sel_impl(...)
  11. tidyselect:::as_indices_impl(x, vars, strict = strict)
  12. vctrs::vec_as_subscript(x, logical = "error")

R version executed: 4.1, ubuntu bionic 18.04.

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