View source: R/palimpsest_utils.R
Function to annotate positions in a data frame (dfPos) using segments in another data frame (dfSegm)
1 2 3 4 5 6 7 8 9 10 11 12 |
dfPos |
Data frame with positions to annotate |
dfPos.chrom.col |
Chromosome column in dfPos |
dfPos.pos.col |
Position column in dfPos |
dfSegm |
Data frame with segments to use for annotating dfPos |
dfSegm.chrom.col |
Chromosome column in dfSegm |
dfSegm.start.col |
Start position column in dfSegm |
dfSegm.end.col |
End position column in dfSegm |
colsToAdd |
Names of columns in dfSegm that should be used to annotate dfPos |
namesColsToAdd |
Column names to give in the columns added to dfPos |
multseg |
required |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.