renameColumns | R Documentation |
Rename columns of imported data frame
renameColumns(dataLong, idVar, geneNameVar)
dataLong |
long format data frame of imported dataset |
idVar |
character string indicating which data column provides the unique identifiers for each protein. |
geneNameVar |
character string of the column name that describes the gene name of a given protein in the raw data files |
data frame containing imported data with renamed columns
data("config_tab")
data("raw_dat_list")
dataList <- import2dMain(configTable = config_tab,
data = raw_dat_list,
idVar = "protein_id",
fcStr = "rel_fc_",
addCol = "gene_name",
naStrs = NA,
intensityStr = "signal_sum_",
nonZeroCols = "qusm",
qualColName = "qupm")
configLong <- configWide2Long(configWide = config_tab)
annoDat <- annotateDataList(dataList = dataList,
geneNameVar = "gene_name",
configLong = configLong,
intensityStr = "signal_sum_",
fcStr = "rel_fc_")
renameColumns(annoDat,
idVar = "protein_id",
geneNameVar = "gene_name")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.