malhamdoosh/EGSEA

Dealing with 'NA' or absent entrezids for rownames in voom object

s-canchi opened this issue · 0 comments

Within the voom Elist, I have rownames defined as gene names. Since the required input is entrezids, I added a gene list slot to the voom object. However the number fo entrezids < gene names (16451 vs 16573). When I replace the missing values with either 'NA' or '0', it gives an error stating duplicate row name:
Error in row.names<-.data.frame(*tmp*, value = value) : duplicate 'row.names' are not allowed

Is there a way to neglect 'NA' values within the egsea command ? Else how to subset the voom Elist to contain only non-missing values ?