Skip to content

Problem with "newEMSet" #19

@cmt6

Description

@cmt6

After the most recent update to the package, I'm able to create an EMSet, but it does not calculate the parameters that it would calculate before the update.

For example, when I create the EMSet using the code below:

EMSet <- newEMSet(assays = list(counts = counts), 
                   colInfo = data.frame(cellInfo), 
                   rowInfo = data.frame(genes), 
                   controls = controls
                   )

After this, I try to plot general QC metrics using plotGeneralQC as follows:

raw.qc.plots <- plotGeneralQC(EMSet)

It fails with the following error:

[1] "Plotting library size plots..."
[1] "Plotting average count plots..."
[1] "Plotting top gene expression..."
[1] "Controls detected. Plotting control-specific plots..."
**Error in `[.data.frame`(metrics_df, , c("cell_barcode", "batch", "qc_nfeaturecounts")) : 
  undefined columns selected**

I'm using OSX High Sierra (10.13.6) and R version 3.5.1.

My code was working with the previous version of ascend and now has some breaking changes.

Any help would be appreciated. Thank you!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions