exportTargetGenes | R Documentation |
Genes with binding sites are target genes of the RBP. They can be exported as 'csv' or 'xlsx' file. Genes can be sorted by the sum of the individual binding sites score, or by the number of binding sites per gene.
exportTargetGenes(
object,
path = "./",
format = c("csv", "xslx"),
sort = c("score", "bs"),
split = c("none", "geneType", "transcriptRegion")
)
object |
a |
path |
A path to where the output should be stored |
format |
output file format |
sort |
sorting rule for genes |
split |
if and how the output file should be split |
As output option, one can either output all genes in a single file, or split
by either gene-type or transcript-region. This options requires that either
BSFind
or the individual functions assignToGenes
,
and assignToTranscriptRegions
were run.
a file of the type specified in format
# load data
files <- system.file("extdata", package="BindingSiteFinder")
load(list.files(files, pattern = ".rda$", full.names = TRUE))
## Not run:
# export
# exportTargetGenes(bds)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.