Description Usage Arguments Value
Given a data.frame or data.table with the columns "chr", "start", and "end", a GenomicRanges (GRanges) object will be created. All other columns will be passed on as metadata. If the input is already a GRanges, it is simply returned. If the column "strand" exists, it will be set as the strand.
1 | makeGRanges(obj, strand = F)
|
obj |
A data.frame or data.table with columns "chr", "start", and "end" and any other columns |
strand |
Use the information in the "strand" column to set strand in the GRanges, if it is present. |
A GRanges made from the data in obj.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.