This is a test version of Biostars. For the public version, visit https://www.biostars.org.
How do I correctly format this line for PandaR?

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

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

0 answers

No answers yet.

Log in to answer this question.