Skip to content
Back to formatted view

Raw Message

Message-ID: <CAOQ5NyeEZ3PtQU9GEWCXubm_KSOoAcokCDJwrmKeSyM6d0BgDw@mail.gmail.com>
Date: 2015-02-24T18:24:33Z
From: Michael Lawrence
Subject: [Bioc-devel] show method for CompressedVRangesList-class
In-Reply-To: <54ECBA9D.2050102@upf.edu>

I think you might be missing an import. It should inherit the method for
GRangesList.

On Tue, Feb 24, 2015 at 9:53 AM, Robert Castelo <robert.castelo at upf.edu>
wrote:

> hi,
>
> i'm using the CompressedVRangesList class in VariantFiltering to hold
> variants and their annotations across multiple samples and found that there
> was no show method for this class (unless i'm missing the right import
> here) so i made one within VariantFiltering by copying&pasting from other
> similar classes:
>
> setMethod("show", signature(object="CompressedVRangesList"),
>           function(object) {
>             lo <- length(object)
>             cat(classNameForDisplay(object), " of length ", lo, "\n",
>                 sep = "")
>             if (!is.null(names(object)))
>               cat(BiocGenerics:::labeledLine("names", names(object)))
>           })
>
> i guess, however, that the right home for this would be VariantAnnotation.
> let me know if you consider adding it there (or somewhere else) and i'll
> remove it from VariantFiltering.
>
> thanks,
>
> robert.
>
> _______________________________________________
> Bioc-devel at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/bioc-devel
>

	[[alternative HTML version deleted]]