Description Usage Arguments Value
View source: R/LDSC_Creatingannot_Functions.R
Convert from dataframe to GRanges
1 | df2GRanges(df, seqname_col, start_col, end_col)
|
df |
Dataframe with columns as sequence name, start, and end. Extra columns kept as metadata. |
seqname_col |
Name of column containing chromsome name. Must be in quotation marks. |
start_col |
Name of column containing start position. Must be in quotation marks. |
end_col |
Name of column containing end position. Must be in quotation marks. |
GRanges object with original data from dataframe.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.