View source: R/func__getRowsXY.R
getRowsXY | R Documentation |
This is a handy small tool to help investigating connections between two objects. A typical usage is to extract or display results relating to alleles x and y.
getRowsXY(df, k1 = NULL, k2 = NULL, c1 = "y", c2 = "x")
df |
a data frame whose rows are to be extracted. |
k1 |
a character, numeric or integer type key being searched against the column c1 (see below). |
k2 |
the same kind of key being searched against the column c2 (see below). |
c1 |
name or index of the first value column (variable) in df. Default: "y". |
c2 |
name or index of the second key column in df. Default: "x". |
Yu Wan (wanyuac@126.com)
assoc <- findPhysLink(...) z <- getRowsXY(df = assoc[["assoc"]], k1 = "IntI1_1.1", k2 = "SulI_1616", c1 = "y", c2 = "x") z <- getRowsXY(df = assoc[["assoc"]], k1 = "IntI1_1.1", k2 = "SulI_1616", c1 = 1, c2 = 2)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.