Description Usage Arguments Details Value See Also Examples
View source: R/TransformToGR.R
Transform a character vector of gene symbols or region ranges into a GRanges object.
1 2 3 4 5 | TransformToGR(
genes_char,
type = c("symbol", "region"),
genome = c("hg38", "hg19")
)
|
genes_char |
A character vector of gene symbols or region ranges. If
you select |
type |
What is the type of |
genome |
Use |
TransformToGR()
uses the hg19/hg38 genes to associate gene
symbols with their genomic region ranges. The pre-processed dataset is
saved in inst/extdata in this package.
Users who wish to add gene symbols to the GRanges created using
function TransformToGR()
can use function AddMetaData()
.
Please see AddMetaData
for details.
A GRanges object with seqnames
, ranges
and
strand
.
AllCloseByRegions
, AllCoeditedRegions
,
CreateEditingTable
, SummarizeAllRegions
,
TestAssociations
, AnnotateResults
1 2 3 4 5 6 7 8 9 10 11 12 | TransformToGR(
genes_char = c("PHACTR4", "CCR5", "METTL7A"),
type = "symbol",
genome = "hg19"
)
TransformToGR(
genes_char = c("chr22:18555686-18573797", "chr22:36883233-36908148"),
type = "region",
genome = "hg19"
)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.