lissettegomez / coMethDMR

3 stars 3 forks source link

Add error message for probe IDs as column of beta matrix / data frame #5

Open gabrielodom opened 3 years ago

gabrielodom commented 3 years ago

If a user supplies a data frame of beta values, and that data frame has a column of probe IDs, then the GetResiduals() function will error with the following message:

Error in FUN(left, right) : non-numeric argument to binary operator

We need to add a check that

  1. The rownames of the beta matrix are probe IDs, and
  2. There are only numeric columns in the beta matrix
gabrielodom commented 3 years ago

@lissettegomez, can you add me to this repo, so I can assign this task to myself?

lissettegomez commented 3 years ago

@gabrielodom did you receive the invitation?

gabrielodom commented 3 years ago

Yes thank you!