[BioC] [Bioc-devel] granges() method for GenomicRanges objects akin to ranges()...

Hervé Pagès hpages at fhcrc.org
Tue Jul 8 20:46:12 CEST 2014


On 07/08/2014 11:29 AM, Michael Lawrence wrote:
> On Tue, Jul 8, 2014 at 10:36 AM, Julian Gehring <julian.gehring at embl.de>
> wrote:
>
>> Hi Herve,
>>
>>
>>   2) A 'dropMcols' or 'dropmcols' method with signature 'GRanges' that is
>>>> a wrapper for
>>>>     mcols(x) <- NULL
>>>>
>>>
>>> How about setMcols(), which is more general than dropmcols()?
>>>
>>>
>> Do you mean a function like:
>>
>>    setMcols <- function(x, value = NULL) {
>>      mcols(x) = value
>>      return(x)
>>    }
>>
>> I'd be fine with this.  However, some argued before that setting to NULL
>> may be counterintuitive for non-advanced users.
>>
>>
> Probably best to have both setMcols and dropMcols.

OK. Let's go for both.

Thanks,
H.

>
>
>
>> Best wishes
>> Julian
>>
>>
>> _______________________________________________
>> Bioconductor mailing list
>> Bioconductor at r-project.org
>> https://stat.ethz.ch/mailman/listinfo/bioconductor
>> Search the archives: http://news.gmane.org/gmane.
>> science.biology.informatics.conductor
>>
>
> 	[[alternative HTML version deleted]]
>
> _______________________________________________
> Bioc-devel at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/bioc-devel
>

-- 
Hervé Pagès

Program in Computational Biology
Division of Public Health Sciences
Fred Hutchinson Cancer Research Center
1100 Fairview Ave. N, M1-B514
P.O. Box 19024
Seattle, WA 98109-1024

E-mail: hpages at fhcrc.org
Phone:  (206) 667-5791
Fax:    (206) 667-1319



More information about the Bioconductor mailing list