Description Usage Arguments Value Author(s) See Also
View source: R/buildSNPannotation.R
Shortens the entries of the column of a data frame containing the genes
associated with the SNPs for which the data frame comprises annotations.
Typically used in combination with, i.e.\ either within or after an application of,
buildSNPannotation.
1 2 | shortenGeneDescription(dat, colname = "Gene", max.length = 2,
sep = "///", add.ldots = TRUE)
|
dat |
a data frame. Typically, the output of |
colname |
character string comprising the name of the column of |
max.length |
integer specifying the maximum number of genes associated with the respective
SNP that should be stored in the data frame. By default, the first two genes are retained.
Shortened entries are marked by |
sep |
character string specifying the separation symbol between the different genes. |
add.ldots |
should |
The same data frame as dat
with shortened entries in the column of dat
named colname
.
Holger Schwender, holger.schw@gmx.de
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.