[Bioc-devel] show method for CompressedVRangesList-class
Michael Lawrence
lawrence.michael at gene.com
Tue Feb 24 19:24:33 CET 2015
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]]
More information about the Bioc-devel
mailing list