splitGenesAcrossChroms | R Documentation |
This function simply splits apart genes which have isoforms across multiple chromosomes. New "genes" are created with the suffix "_cs" and a number.
splitGenesAcrossChroms(ebg, txdf)
ebg |
an exons-by-genes GRangesList, created with |
txdf |
a data.frame created by running |
a list of manipulated ebg
and txdf
library(GenomicRanges)
txdf <- data.frame(TXCHROM=c("1","1","2"),
GENEID=c("101","102","102"))
ebg <- GRangesList(GRanges("1",IRanges(c(100,200),width=50)),
GRanges(c("1","2"),IRanges(c(400,100),width=50)))
names(ebg) <- c("101","102")
splitGenesAcrossChroms(ebg, txdf)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.