Skip to content

plotBambu throws an error when plotting - "invalid class "GGbio" object" #510

@yeroslaviz

Description

@yeroslaviz

I have a problem plotting my bambu results
I have five samples I want to plot using the plotBambu function.

this is my data:

> se
class: RangedSummarizedExperiment 
dim: 288719 5 
metadata(2): incompatibleCounts warnings
assays(4): counts CPM fullLengthCounts uniqueCounts
rownames(288719): BambuTx1 BambuTx2 ... ENSMUST00020183812 ENSMUST00020183813
rowData names(11): TXNAME GENEID ... txid eqClassById
colnames(5): 91b28ef9-e037-4bdd-b4e5-56286eddf268_SMART-Seq_barcode10_restranded_k14
  91b28ef9-e037-4bdd-b4e5-56286eddf268_SMART-Seq_barcode11_restranded_k14
  91b28ef9-e037-4bdd-b4e5-56286eddf268_SMART-Seq_barcode13_restranded_k14
  91b28ef9-e037-4bdd-b4e5-56286eddf268_SMART-Seq_barcode14_restranded_k14
  91b28ef9-e037-4bdd-b4e5-56286eddf268_SMART-Seq_barcode15_restranded_k14
colData names(1): name

But when I try to plot it I get this error:

plotBambu(se, type = "annotation", gene_id = "ENSMUSG00000025915")
Error in validObject(.Object) : 
  invalid class "GGbio" object: invalid object for slot "ggplot" in class "GGbio": got class "ggplot2::ggplot", should be or extend class "gg_OR_NULL"

any ideas what I can do to fix it?

thanks

Assa

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