Displaying 1 result from an estimated 1 matches for "mid2agi".
2012 Oct 19
2
replacing rows data.frame
I create a data.frame using :
alloc <- data.frame(matrix(nrow=length(unique(mid2agi$gene)), ncol=8))
colnames(alloc) <- c('agi', 'hit_len', 'q_len', 'identity', 'ratio', 'e',
'ok' ,'gene')
alloc$gene <- unique(mid2agi$gene)
this results in:
> head(alloc)
agi hit_len q_len identity ratio e ok...