Description Usage Arguments Value Author(s)
Converts a data.frame
that defines genomic regions to object of type GRanges
.
1 2 3 4 5 6 7 8 9 10 | data.frame2GRanges(
dframe,
ids = rownames(dframe),
chrom.column = "Chromosome",
start.column = "Start",
end.column = "End",
strand.column = NULL,
assembly = "hg19",
sort.result = TRUE
)
|
dframe |
Table defining genomic regions. |
ids |
Region names (identifiers) as a |
chrom.column |
Column name or index that lists the chromosome names. |
start.column |
Column name or index that lists the start positions of the regions. |
end.column |
Column name or index that lists the end positions of the regions. |
strand.column |
Column name or index that lists the strands on which the regions are located. Set this to
|
assembly |
Genome assembly of interest. See |
sort.result |
Should the resulting table be sorted |
GRanges
object encapsulating all well defined regions on supported chromosomes, contained in
dframe
. Columns other that the ones listed as parameters in this function are included as metadata.
Yassen Assenov
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.