Re: [Bioc-devel] IlluminaID2nuID Incorrectly Uses If Statement

2013-12-02 Thread Dario Strbenac
> getChipInfo(rownames(stage3expression), species = "Human") $chipVersion [1] "HumanHT12_V3_0_R3_11283641_A" "HumanWG6_V3_0_R3_11282955_A" $species [1] "Human" $IDType [1] "Array_Address_Id" "Array_Address_Id" $chipProbeNumber [1] 48803 $inputProbeNumber [1] 48803 $matchedProbeNumber [1] 4880

Re: [Bioc-devel] feature request: pmax for columns of DataFrame objects

2013-12-02 Thread Michael Lawrence
Thanks, I've exported it now from BiocGenerics. It shouldn't cause a duplication. Michael On Mon, Dec 2, 2013 at 12:12 PM, Robert Castelo wrote: > hi Michael, thanks for your quick response, comments below.. > > > On 12/2/13 6:29 PM, Michael Lawrence wrote: > > A DataFrame being a SimpleList,

Re: [Bioc-devel] [VariantAnnotation]

2013-12-02 Thread Valerie Obenchain
The replacement method for fixed<- on a VCFHeader has been added to the devel version 1.19.17. Valerie On 11/20/2013 10:08 AM, Valerie Obenchain wrote: Correction below. On 11/20/2013 09:59 AM, Valerie Obenchain wrote: Hi Delphine, I've cc'd your message to the Bioconductor mailing list.

Re: [Bioc-devel] feature request: pmax for columns of DataFrame objects

2013-12-02 Thread Robert Castelo
hi Michael, thanks for your quick response, comments below.. On 12/2/13 6:29 PM, Michael Lawrence wrote: > A DataFrame being a SimpleList, coercion to list is immediate, so just > coerce to a list instead of a data.frame. > > do.call(pmax, as.list(DataFrame(x=1:10,y=2:11))) > thanks for tip, so i

Re: [Bioc-devel] VariantAnnotation writeVcf problem

2013-12-02 Thread Valerie Obenchain
Files with a .vcf extension often get scrubbed from email because they are interpreted as a 'vCard' file. (At least this has been my experience.) Changing the file extension to something other than '.vcf' usually solves the problem. I was able to reproduce the error with the file you pasted in

Re: [Bioc-devel] feature request: pmax for columns of DataFrame objects

2013-12-02 Thread Michael Lawrence
A DataFrame being a SimpleList, coercion to list is immediate, so just coerce to a list instead of a data.frame. do.call(pmax, as.list(DataFrame(x=1:10,y=2:11))) I added a do.call method in IRanges that does this for you. On Mon, Dec 2, 2013 at 8:58 AM, Robert Castelo wrote: > hi, > > i would

[Bioc-devel] feature request: pmax for columns of DataFrame objects

2013-12-02 Thread Robert Castelo
hi, i would like to do the following: library(IRanges) do.call(pmax, data.frame(x=1:10, y=2:11)) [1] 2 3 4 5 6 7 8 9 10 11 with 'DataFrame' objects: do.call(pmax, DataFrame(x=1:10, y=2:11)) Error in do.call(pmax, DataFrame(x = 1:10, y = 2:11)) : second argument must be a list conc

Re: [Bioc-devel] IlluminaID2nuID Incorrectly Uses If Statement

2013-12-02 Thread Gang Feng
Hi, Dario Thanks for comment. Could you run getChipInfo(rownames(stage3expression), species = "Human") and show the return values? Best Gilbert On 12/2/13 12:00 AM, "Dario Strbenac" wrote: >> patientNuIDs <- IlluminaID2nuID(rownames(stage3expression), species = >>"Human") >Warning message: >