Prepare Input for Creating Coverage Plot.

FormatTrack(
  data,
  region = "chr14:21,677,306-21,737,601",
  gtf.gr = NULL,
  gene.name = "HNRNPC",
  gene.name.type = c("gene_name", "gene_id"),
  extend = 2000
)

Arguments

data

Track dataframe loaded by LoadTrackFile.

region

Region used to create coverage plot, eg: chr14:21,677,306-21,737,601 or chr14:21,677,306.

gtf.gr

Granges object of GTF, created with import.gff. Default: NULL.

gene.name

The name of gene. Default: HNRNPC.

gene.name.type

Gene name type (filed of gtf.gr), chosen from gene_name and gene_id. Default: gene_name.

extend

Extend length of region. Default: 2000.

Value

A dataframe.