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
    Multiomics Techniques Advancing Disease Research
    by seqadmin


    New and advanced multiomics tools and technologies have opened new avenues of research and markedly enhanced various disciplines such as disease research and precision medicine1. The practice of merging diverse data from various ‘omes increasingly provides a more holistic understanding of biological systems. As Maddison Masaeli, Co-Founder and CEO at Deepcell, aptly noted, “You can't explain biology in its complex form with one modality.”

    A major leap in the field has
    ...
    02-08-2024, 06:33 AM
  • seqadmin
    The 3D Genome: New Technologies and Emerging Insights
    by seqadmin


    The study of three-dimensional (3D) genomics explores the spatial structure of genomes and their role in processes like gene expression and DNA replication. By employing innovative technologies, researchers can study these arrangements to discover their role in various biological processes. Scientists continue to find new ways in which the organization of DNA is involved in processes like development1 and disease2.

    Basic Organization and Structure
    Understanding...
    01-22-2024, 03:25 PM

ad_right_rmr

Collapse

News

Collapse

Topics Statistics Last Post
Started by seqadmin, Today, 08:57 AM
0 responses
8 views
0 likes
Last Post seqadmin  
Started by seqadmin, 02-14-2024, 09:19 AM
0 responses
42 views
0 likes
Last Post seqadmin  
Started by seqadmin, 02-12-2024, 03:37 PM
0 responses
400 views
0 likes
Last Post seqadmin  
Started by seqadmin, 02-09-2024, 03:36 PM
0 responses
640 views
0 likes
Last Post seqadmin  
Working...
X