Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

as(tag_cluster, "CTSS") should use the dominant CTSS information. #116

Open
charles-plessy opened this issue May 17, 2024 · 0 comments
Open

Comments

@charles-plessy
Copy link
Owner

Ideally, the result should be on position 26453667, not 26453605.

> p[4]
TagClusters object with 1 range and 6 metadata columns:
    seqnames            ranges strand |    dominant_ctss tpm.dominant_ctss            score   nr_ctss min_density max_density
       <Rle>         <IRanges>  <Rle> |        <GRanges>             <Rle>            <Rle> <integer>   <numeric>   <numeric>
  4    chr17 26453605-26453749      + | chr17:26453667:+  288.917306039892 1090.69591575985        18   0.0110095    0.544149
  -------
  seqinfo: 26 sequences (1 circular) from danRer7 genome
> p[4] |> as('CTSS')
CTSS object with 1 position and 6 metadata columns:
      seqnames       pos strand |    dominant_ctss tpm.dominant_ctss            score   nr_ctss min_density max_density
         <Rle> <integer>  <Rle> |        <GRanges>             <Rle>            <Rle> <integer>   <numeric>   <numeric>
  [1]    chr17  26453605      + | chr17:26453667:+  288.917306039892 1090.69591575985        18   0.0110095    0.544149
  -------
  seqinfo: 26 sequences (1 circular) from danRer7 genome
  BSgenome name: unspecified 
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant