View source: R/palimpsest_utils.R
palimpsest_dfPosXSegm | R Documentation |
Function to annotate positions in a data frame (dfPos) using segments in another data frame (dfSegm)
palimpsest_dfPosXSegm(
dfPos = NULL,
dfPos.chrom.col = "chrom",
dfPos.pos.col = "pos",
dfSegm = NULL,
dfSegm.chrom.col = "chrom",
dfSegm.start.col = "start",
dfSegm.end.col = "end",
colsToAdd = NULL,
namesColsToAdd = NULL,
multseg = c(NA, "first", "all")[1]
)
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.