Skip to content

Errors in visualization step #2

Description

@Suhail221107

Dear contributors,
I was testing the steps in advance usage section of the package using the given example data. I could easily generate the heatmap and bubble plots. However, I encounter the errors during below steps:

Save the heatmap

p=HeatmapRBP(res=res,rbp_lfc=rbp_lfc)
n=length(p$tree_row$order)
pdf(location,length(names(res)))
p
dev.off()
Error in p$tree_row : $ operator not defined for this S4 class

Draw network of the RBP that are most changing or choose specific RBPs

Draw_network_by_group(regulators=rbp_lfc,res=res,Targets=Targets,gene_groups=gene_groups,n=5,forwarded = F)
Error in ggnet2(new_adj, size = sizes, color = node_color, label = c(RBP_kept, :
could not coerce net to a network object

I would higjhly appreciate if you could please suggest for possible reason or solution of above two errors.

Best regards,
Suhail

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

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions