Home > other >  R the probe match times wrong language geo database mining
R the probe match times wrong language geo database mining

Time:10-11

Probe_exp & lt; - read. Table (" cancer. Probeid. Expres. TXT ", the header=T, sep="\ T", row. Names=1)
# read probe file
Probeid_geneid & lt; - read. Table (" GPL6244-17930. TXT ", the header=T, sep="\ T", blank. The lines. The skip=F)
Write. CSV (probeid_geneid, file="probeid_geneid. CSV," quote=T)
Probe_name & lt; - row. Names (probe_exp)
# the probe match
Loc & lt; - match (probeid_geneid [1], probe_name)
# sure can match the probe on the expression values
Probe_exp & lt; - probe_exp [loc,]
# each probeid coping geneid
Write. CSV (probe_exp, file="probe_exp. CSV," quote=T)

Raw_geneid & lt; - the as. Numeric (as matrix (probeid_geneid [3]))

R software Error: Error in ` [. Data. The frame ` (probeid_geneid, and 3) : choose the undefined column

Excuse me, how to solve?