How do I correctly format this line for PandaR?
0
0
Entering edit mode
17 months ago
John • 0

I'm trying to implement the panda function for the dataframe I'm using (and I have tried to convert it into a list, but the result is the same). I'm using this guide: https://www.bioconductor.org/packages/devel/bioc/vignettes/pandaR/inst/doc/pandaR.html

Here is my code:

pandaResult <- panda(pandaToyData$Name, pandaToyData$Description)

Note that name = motif and description = expression. The only difference between what I put and what's on the tutorial is that I don't have the third ppi argument (but my data doesn't have PPI, and it's not absolutely necessary to have PPI for PANDA). But I'm getting the following error:

Error in h(simpleError(msg, call)) : 
  error in evaluating the argument 'x' in selecting a method for function 'unique': error in evaluating the argument 'y' in selecting a method for function 'union': error in evaluating the argument 'x' in selecting a method for function 'unique': incorrect number of dimensions

Should I have done something different when formatting because I'm not using PPI? Attached is part of my data frame.

Portion of my data frame

R PANDA • 511 views
ADD COMMENT
0
Entering edit mode

Where does your data frame fit in? The pandaToyData is a list with 3 data frames and your df is just one df.

ADD REPLY

Login before adding your answer.

Traffic: 1659 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6