Skip to content

Error in cursor:(cursor + seq - 1) : result would be too long a vector running plotPeakProf2 #250

@johannesnicolaus

Description

@johannesnicolaus

Hello, I got an error trying to run plotPeakProf2 for my data when I specify the upstream and downstream parameters. When it is not specified, it works ok.

The command:

plotPeakProf2(gr2, TxDb = gr1, type = "body", by = "gene", nbin = 50, upstream = 500, downstream = 500)

I'm not sure how it can be replicated, I can send the input files if needed. I tried running this using different GR objects and nothing worked.

The output

#
#.. 'TxDb' is a self-defined 'GRanges' object...
#
>> binning method is used...2025-01-22 11:06:47 AM
>> preparing body regions by name... 2025-01-22 11:06:47 AM
>> preparing tag matrix by binning...  2025-01-22 11:06:47 AM 
>> preparing matrix with flank extension from (gene_SS-500bp)~(gene_TS+500bp)... 2025-01-22 11:06:47 AM
>> 0 peaks(0%), having lengths smaller than 50bp, are filtered... 2025-01-22 11:06:47 AM
Error in cursor:(cursor + seq - 1) : result would be too long a vector

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions