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.
Where does your data frame fit in? The
pandaToyData
is a list with 3 data frames and your df is just one df.