refseqfile_check: Internal Use Function That checks and annotates the promoter...

View source: R/File_read.R

refseqfile_checkR Documentation

Internal Use Function That checks and annotates the promoter to the specific gene.

Description

This function sorts and makes sure geneobj file can be used in this package, that mainly works on the promoters without the choromsome and position information. In addition, it can add the genomic number of exons and introns, e.g., first exon or second intron.

Usage

refseqfile_check(geneobj, regionfile)

Arguments

geneobj

refers to the genebody file from readTranscriptFeatures of package genomation.

regionfile

refers to the reference gene or cpg bed file (without header)

Value

Outputs gene body file.

Examples

geneobj <- refseqfile_check(geneobj, regionfile)


xiaowangCN/GeneDMRs documentation built on Nov. 22, 2023, 11:19 p.m.