I want to get the Symbol for probes on the HuGeneSt 1.0 gene array. I can do something like this:
mget(c("8093624"), hugene10sttranscriptclusterSYMBOL)
to get a single probe and see it's what I want. And I can do this:
vals = mget(keys, hugene10sttranscriptclusterSYMBOL)
to get the entire set of mappings. How can I then write vals
to a file with
columns of ID, SYMBOL?
EDIT: This question is answered, but an addition, what if I wanted the table with an additional column for hugene10sttranscriptclusterGENENAME --where the table will include rows where there's a value for either GENENAME or SYMBOL?
try
toTable(hugene10sttranscriptclusterSYMBOL)
for the whole shooting match, ortoTable(hugene10sttranscriptclusterSYMBOL[keys])
then standard R.If I understand you correctly - you can use
write.table
function to save your mappings to external file.@Martin, thanks, write.table(toTable(hugene10sttranscriptclusterSYMBOL)), "out.tsv", row.names=F, col.names=T, sep="t") works as well.
@Martin, and see my edit to the question.