View source: R/filter_overlapping_non_overlapping.r
nonOverlappingDNGenes | R Documentation |
Extracting terms for genes that overlap SVs
nonOverlappingDNGenes(rr, dngene)
rr |
character. dataframe with primary genes and terms associated. |
dngene |
character. genes that overlap the SV. |
Dataframe with overlapping genes and terms.
terms= c("steroid_Gene","steroid synthesis_Gene")
genes <- c("NR1H3", "ABCC4")
rr <- data.frame(Genes = genes, Terms = terms)
smapName="GM24385_Ason_DLE1_VAP_trio5.smap"
smap = system.file("extdata", smapName, package="nanotatoR")
bedFile <- system.file("extdata", "HomoSapienGRCH19_lift37.bed", package="nanotatoR")
outpath <- system.file("extdata", package="nanotatoR")
datcomp<-overlapnearestgeneSearch(smap = smap,
bed=bedFile, inputfmtBed = "bed", outpath,
n = 3, returnMethod_bedcomp = c("dataFrame"),
input_fmt_SV = "Text",
EnzymeType = "SE",
bperrorindel = 3000, bperrorinvtrans = 50000)
dngene <- as.character(datcomp$Downstream_nonOverlapGenes_dist_kb)
dataPGDN <- nonOverlappingDNGenes (rr, dngene)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.