View source: R/addGeneIdToIndex.R
addGeneIdToIndex | R Documentation |
Shrinks Genes GRange down to 3bp width around the TSS. The Genes GRAnge has a geneID associated with it. Individual promoter GRanges are shrunk to 3bp around the TSS as well. In theory the promoter and gene GRanges are the same. E.g. DDB0232428 100-103 is the same in both dataframes. We can now connect the index in the promoter GRange to a geneID!
addGeneIdToIndex(x, y)
x |
output from selectPromoterGRangesBasedOnTagMatrixIndex() |
y |
output from makeDictyGenesGRangesObject() |
List. Each List also a list containing two GRanges. The first GRange is the interesting part. Contains the Windows / Promoters GRange from selectPromoterGRangesBasedOnTagMatrixIndex() but with GeneId added. You can chgeck against TestGRanges I think they should be the same.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.