unique_gene_expression | R Documentation |
Title Remove redundant gene expression data, and select the maximum one
unique_gene_expression(expression.df, f = "max", gene = NULL, method = 1)
expression.df |
Please note the first column must be gene names if gene = Null |
f |
Default "max" |
gene |
If the first columnn is not gene name, input gene name here |
method |
Default 1. 1 for aggragate, 2 for dplyr |
A clean expression data.frame
d <- read.table(text=
'Name Month Rate1 Rate2
Aira 1 12 23
Aira 2 18 73
Aira 3 19 45
Ben 1 53 19
Ben 2 22 87
Ben 3 19 45
Cat 1 22 87
Cat 2 67 43
Cat 3 45 32', header=TRUE)
loonR::unique_gene_expression(d)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.