matchToGene: matchToGene

Description Usage Arguments Examples

View source: R/matchToGene.R

Description

Counts how many sequencing points were at known genes

Usage

1
2
matchToGene(positions, start, stop, geneName, strandData, strand = "sense",
  range = 0)

Arguments

positions

Positions from sequencing and informations about strand.

start

Gene start index.

stop

Gene stop index.

geneName

Gene name.

strandData

Vector with information that gene is on sense or antisense strand.

strand

On which strand we want to compute statistics, we can compute statistics on the sense or antisense strand.

range

How many nucleotide before start and after stop we include to genes.

Examples

1
2
3
4
5
6
7
## Not run: 
library(directRNAExplorer)
data <- dataChromosome1
dic <- TAIR10_genes
matchToGene(positions=unique(data$pos), start=dic$V4, stop=dic$V5, geneName=dic$id)

## End(Not run)

mi2-warsaw/sequencingExplainer documentation built on May 17, 2019, 4:33 p.m.