Skip to content

[Bioc-devel] renameSeqlevels name matching

2 messages · Arora, Sonali, Michael Lawrence

#
Hi Micheal ,

I updated the code for renameSeqlevels yesterday in response to a test case.

 From the function -

level <- seqlevels(x)
idx <- match(nms,level)
idx <- idx[complete.cases(idx)]
value <- replace(level,idx , value[1:length(idx)])

It is still matching nms (names(value) ) and level ( seqlevels(x))

Could you please be a little more specific about your question?
or give me a test case where it is behaving differently from before?

Thanks
Sonali.
On 4/3/2014 11:40 AM, Michael Lawrence wrote: