getAnnotation: Get annotation from a gtf annotation file

Description Usage Arguments Author(s) Examples

View source: R/Anno_getAnnotation.R

Description

get annotation from a gtf annotation file.

Usage

1
2
getAnnotation(gtf.path, select.col = NULL, Newcolnames = NULL,
  control.id = NULL)

Arguments

gtf.path

the path of .gtf

select.col

the selected colnames.Default is "gene_id","gene_name" and "gene_type"

Newcolnames

the new colnames.Default is "ENSEMBL","SYMBOL","gene_type"

control.id

the onlyone id colname

Author(s)

Weibin Huang<654751191@qq.com>

Examples

1
2
3
4
5
getAnnotation(gtf.path,
              select.col=NULL,
              Newcolnames=NULL,
              control.id=NULL)
save(gtf.annotation,file="gtf.annotation.rda")

shijianasdf/BasicBioinformaticsAnalysisFromZhongShan documentation built on Jan. 3, 2020, 10:08 p.m.