Closed adugourd closed 3 years ago
Yes, indeed. The problem in real examples is that you actually have genes that are missing, hence the return of the apply function is a NA and not a character. Let's revert vapply back to sapply for now. If we want to keep vapply in future we could for example make the return of the function a boolean variable, which in a second step is used for filtering the pkn sources and targets.
vapply leads to crash when using a real dataset. I reverted to sapply and it works.