SmartMap.ToTx: Map genome coordinates to transcript coordinates.

Description Usage Arguments Details Value Author(s)

View source: R/methods.R

Description

Map genome coordinates to transcript coordinates. See 'Details'. This is a low-level function that is being called from SmartMap. There is no guarantee that this function will get exported in future releases of RNAModR. Use at your own risk.

Usage

1
2
SmartMap.ToTx(gr, txBySec, seqBySec, geneXID, ignore.strand = FALSE,
  showPb = FALSE)

Arguments

gr

A GRanges object; specifies the list of genomic features to be mapped.

txBySec

A list of GRangesList objects; specifies the reference transcriptome; the object is usually a result of running BuildTx.

seqBySec

A list of DNAStringSet objects; sequences of (some or all) segments from txBySec; the object is usually a result of running BuildTx.

geneXID

A DataFrame; specifies different gene IDs; the object is usually a result of running BuildTx.

ignore.strand

A logical scalar; if TRUE strand information is ignored when mapping genome coordinates to transcript coordinates; default is FALSE.

showPb

A logical scalar; if TRUE show a progress bar; default is FALSE.

Details

The function maps genomic coordinates from gr to transcript region coordinates from txBySec. The function returns a list of DataFrame objects, each with the following columns:

  1. locus_in_txx_region: A GRanges object

  2. locus_in_genome: A GRanges object

  3. score: A numeric vector

  4. id: A character vector

  5. tx_region: A character vector

  6. tx_region_width: An integer vector

  7. tx_region_sequence: A DNAStringSet object

  8. tx_refseq: A character vector

  9. gene_entrez: A character vector

  10. gene_symbol: A character vector

  11. gene_ensembl: A character vector

  12. gene_name: A character vector

Value

A list of data.frame objects. See 'Details'.

Author(s)

Maurits Evers, maurits.evers@anu.edu.au


mevers/RNAModR documentation built on Nov. 17, 2019, 9:11 a.m.