Questions tagged [genomicranges]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
-2
votes
2answers
69 views

Calculating the number of probes for a given genomic range

I have a big data frame like this for copy number (exome seq) ...
2
votes
0answers
20 views

What Cellbase resources are 0-indexed, and which are 1-indexed?

The UCSC Genome Browser Team is clear about that the genome browser GUI is 1-based, closed interval. Genomic sequence retrieval via the UCSC REST API is 1-based, closed interval. All UCSC tables are 0-...
0
votes
2answers
95 views

GenomicRanges: get nearest neighbor distances for random genes using a for loop

I want to compute the nearest neighbour distances using a for loop. I can do this with a random subset by doing this: ...
4
votes
1answer
112 views

Find intervals that genes fall within their range

I am trying to run some frequency based stats to identify selective sweep in my study system using Rpackage "PopGenome". To proceed with it I have split my genome data (whole genome sequencing) into ...
2
votes
3answers
114 views

Getting a stretch of genomic ranges from a dataframe/granges object based on metadata column

I have a "test" data.frame object in R, which is basically a small subset of a 66000 row dataframe, which looks as follows: ...
4
votes
1answer
98 views

How to find genomic overlaps faster?

I was trying to find a way to find overlaps between two genomic ranges. I found a post at Biostars but it couldn't consider the chromosome information. For example: ...
1
vote
1answer
377 views

Expand granges object different amounts upstream vs. downstream

I am attempting to get gene regions and their immediate neighborhoods using Bioconductor GenomicRanges packages. It is very easy for me to extend the regions around genes if I want to extend it the ...
6
votes
3answers
546 views

How to subset a GRanges via an argument passed into a function?

Let's say I have following example GRanges: ...