View source: R/GroupsDiffGenes.R
| GroupsDiffGenes | R Documentation |
Calculate the top ten most differentially elevated genes in group 1 that have a significant p-value difference. For differentiation, limma voom is utilised.
GroupsDiffGenes(
data_mat,
group,
data_type = c("Normalised", "Raw"),
Normalization_method = c("TMM", "TMMwsp", "RLE", "upperquartile", "none"),
p_val = 0.05,
lfc = 0,
up_gene_number = 10
)
data_mat |
Raw or Normalized data matrix in which genes in the row and cells in columns. |
group |
Different groups in a vector of size equals to the sample size of data_mat |
data_type |
whether data is Normalised or Raw (without normalization) |
Normalization_method |
Only used if expresion matrix is not normalized. All normalization methods are explained in calcNormFactor function of edgeR package |
p_val |
Threshold p value, default is 0.05 |
lfc |
Threshold log fold change value, default is 0 |
up_gene_number |
select number of upregulated genes in each group |
Up_gene_mat return expression matrix of upregulated genes in each group
data = unCTC::Poonia_et_al._TPMData
groups = c(rep("TNBC",11),rep("NonTNBC",61))
output = GroupsDiffGenes(data_mat=data,
group=groups,
data_type="Raw",
Normalization_method="TMM")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.