R Note for Bioinfo: The column selected to call is undefined
Problems:
input: Table(GPL number)[1: number of rows selected,c(” ID “, “other column attributes”,…)]
Error:
Error in [.data.frame
… undefined columns selected
Solution:
Table(GPL number)[1: number of rows selected,c(” ID “, “other column attributes”…)]
note that the other column attributes here are compared with the original database to see if they are consistent
modify the inconsistent column attributes to be consistent with the original database column fields after
error disappears and runs correctly
Specific orders to solve the problem:
Table (GPL) [1:10, c (” ID “, “GB_ACC”, “Gene Title”, “Gene Symbol”, “ENTREZ_GENE_ID”)]