Learn R Programming

GeoTcgaData (version 0.2.4)

gene_ave: Average the values of same genes in gene expression profile

Description

Average the values of same genes in gene expression profile

Usage

gene_ave(file_gene_ave, k = 1)

Arguments

file_gene_ave

a data.frame

k

a number

Value

a data.frame, the values of same genes in gene expression profile

Examples

Run this code
# NOT RUN {
aa <- c("Gene Symbol","MARCH1","MARC1","MARCH1","MARCH1","MARCH1")
bb <- c("GSM1629982","2.969058399","4.722410064","8.165514853","8.24243893","8.60815086")
cc <- c("GSM1629982","3.969058399","5.722410064","7.165514853","6.24243893","7.60815086")
file3 <- data.frame(aa=aa,bb=bb,cc=cc)
result <- gene_ave(file3)
# }

Run the code above in your browser using DataLab