SetATGas0 | R Documentation |
Set position of ATG as zero in hap result and gff annotation. The upstream was negative while the gene range and downstream was positive.
gffSetATGas0(gff = gff, hap = hap,
geneID = geneID,
Chr = Chr, POS = POS)
hapSetATGas0(gff = gff, hap = hap,
geneID = geneID,
Chr = Chr, POS = POS)
gff |
gene annotations |
hap |
object of hapResult or hapSummary class |
geneID |
geneID |
Chr |
Chromsome name |
POS |
vector consist with start and end position |
Filter hap result and gff annotation according to provided information. And then set position of ATG as zero in hap result and gff annotation. The upstream was negative while the gene range and downstream was positive.
Notice: the position of "ATG" after modified was 0, 1 and 2 separately. The site in hap result exceed the selected range will be dropped.
gffSetATGas0
: filtered gff with position of ATG was as zero
hapSetATGas0
: hap results with position of ATG was set as zero
displayVarOnGeneModel()
# load example dataset
data("geneHapR_test")
# set position of ATG as zero in gff
newgff <- gffSetATGas0(gff = gff, hap = hapResult,
geneID = "test1G0387",
Chr = "scaffold_1",
POS = c(4300, 7910))
data("geneHapR_test")
# set position of ATG as zero in hap results
newhapResult <- hapSetATGas0(gff = gff, hap = hapResult,
geneID = "test1G0387",
Chr = "scaffold_1",
POS = c(4300, 7910))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.