Description Usage Arguments Value Methods (by class) Examples
The method takes a list of concatenated string of variable name and accession, removes the variable accession from each of the string (e.g. AGEPHOT_phv00000027.v2 –> AGEPHOT). After the removal, if there are duplicated items in the list, a .number is appended to each of the repeated items to make the ditinction. For example, the duplicated items LNUCSCORE_phv00053747.v2, LNUCSCORE_phv00000006.v2 become LNUCSCORE.1, LNUCSCORE.2 .
1 2 3 4 | stripColNameAcc(object, colNameAccList)
## S4 method for signature 'Commons,character'
stripColNameAcc(object, colNameAccList)
|
object |
Commons class object. |
colNameAccList |
a character vector. A concatenated string of the variable name and accession, such as c('AGEPHOT_phv00000027.v2', 'LNUCSCORE_phv00053747.v2', 'LNUCSCORE_phv00000006.v2', 'DIABAGE_phv00054122.v1'). |
a character vector. Variable names with the accessions removed.
object = Commons,colNameAccList = character
:
1 2 3 4 5 6 7 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.