View source: R/InterCellDBclass.R
FormatCustomGenePairs | R Documentation |
This function makes 2-column table (each row represents one gene pair) to be formatted to be used in this package.
FormatCustomGenePairs(object, gene.pairs.table, extend.reverse = FALSE)
object |
A |
gene.pairs.table |
2-column table, and each column records one list of genes. |
extend.reverse |
Decide whether to extend pairs with the reverse pairs. Default is |
The formatting process will remap the genes in 1st column from input to 'inter.*.A' columns in result. The result of 2nd column from input will be put in 'inter.*.B' columns.
Explanation on extend.reverse
:
For example, given pair C3~C3ar1, if set extend.reverse = TRUE
, then
both C3~C3ar1 and C3ar1~C3 will be generated in result.
A list with $result
storing the formatted gene pairs.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.