dist_stopcodon: Distance to stop codon

View source: R/dist_stopcodon.R

dist_stopcodonR Documentation

Distance to stop codon

Description

Calculate the distance between peak center to stop condon.

Usage

dist_stopcodon(target_peakcenter,
              annotation_file)

Arguments

target_peakcenter

A data.frame file including the site of peak center for each peak.

annotation_file

A character specifies the directory toward a gene annotation GFF/GTF file.

Details

The calculation of distance between the peak center and stop codon is based on the transcriptome coordinates eliminating the disturbance of intron.

Value

It will return a data.frame file specifing the distance of peak center to stop cond and the site of each peak center.

Examples

## Not run:   
Group1_peakcenter2stopcondon <- dist_stopcodon(target_peakcenter=Group1_peakcenter,
                                                annotation_file=GENE_ANNO_GTF)

## End(Not run)

NWPU-903PR/m6AexpressBHM documentation built on May 29, 2022, 11:07 p.m.