Seqanswers Leaderboard Ad

Collapse

Announcement

Collapse
No announcement yet.
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • SongLi
    replied
    Hi

    I think you need to load the .bam file by Rsamtools, and use countOverlap after that.




    Originally posted by dicty View Post
    I have problem using countOverlaps. Below is my code.

    counts=countOverlaps(tx_by_gene,"./s_1_sorted.bam")

    tx_by_gene is a GRangesList object which is a list of GRanges objects, where each GRanges object is a gene and the entries are the genomic coordinates of its transcripts.

    Then I get the error message.

    Error in function (classes, fdef, mtable) :
    unable to find an inherited method for function "countOverlaps", for signature "GRangesList", "character"

    What's wrong in my code? How could I run countOverlaps?

    Thanks,
    Dicty

    Leave a comment:


  • dicty
    started a topic countOverlaps problem

    countOverlaps problem

    I have problem using countOverlaps. Below is my code.

    counts=countOverlaps(tx_by_gene,"./s_1_sorted.bam")

    tx_by_gene is a GRangesList object which is a list of GRanges objects, where each GRanges object is a gene and the entries are the genomic coordinates of its transcripts.

    Then I get the error message.

    Error in function (classes, fdef, mtable) :
    unable to find an inherited method for function "countOverlaps", for signature "GRangesList", "character"

    What's wrong in my code? How could I run countOverlaps?

    Thanks,
    Dicty

Latest Articles

Collapse

  • seqadmin
    Exploring the Dynamics of the Tumor Microenvironment
    by seqadmin




    The complexity of cancer is clearly demonstrated in the diverse ecosystem of the tumor microenvironment (TME). The TME is made up of numerous cell types and its development begins with the changes that happen during oncogenesis. “Genomic mutations, copy number changes, epigenetic alterations, and alternative gene expression occur to varying degrees within the affected tumor cells,” explained Andrea O’Hara, Ph.D., Strategic Technical Specialist at Azenta. “As...
    07-08-2024, 03:19 PM

ad_right_rmr

Collapse

News

Collapse

Topics Statistics Last Post
Started by seqadmin, Yesterday, 06:46 AM
0 responses
9 views
0 likes
Last Post seqadmin  
Started by seqadmin, 07-24-2024, 11:09 AM
0 responses
26 views
0 likes
Last Post seqadmin  
Started by seqadmin, 07-19-2024, 07:20 AM
0 responses
160 views
0 likes
Last Post seqadmin  
Started by seqadmin, 07-16-2024, 05:49 AM
0 responses
127 views
0 likes
Last Post seqadmin  
Working...
X