Description Usage Arguments Value Examples
Through different functions contained in several packages, this function computes pvalues of diferentially expressed genes
1 | tools.DEG.Nanostring(raw.data, tool, data, tool_norm)
|
raw.data |
rcc type file. List of 4 elements: Samples.IDs is a dataframe with four columns: sample name, status (WildType, Mutated), filename. rcc.df contains expression levels with samples in column and genes in rows. annots.df is a dataframe with 3 columns: geneclass (endogenous, housekeeping, negative, positive), gene name, and the accession number. FOV is a dataframe that contains Field of views information. |
tool |
Method to use to compute the pvalues of differentially expressed genes. "Wilcox" uses the wilcoxDEG() function implemented in this very same pacakge "limma" uses the functions DEG_limma() that comes from the limma pacakge "RankProduct" and "RankSum" perform respectively a Rank Product and a Rank Sum analysiswith the RankProducts() function from the RankProd package "desq2" uses the DESeq() function from the DESeq2 package. This last one is particular, because if it is chosen it will ignore the argument "tool_norm" |
data |
Dataframe of gene expression levels with sample names in columns and genes in rows |
tool_norm |
Normalization tool used previously in the tools.norm.Nanostring() function |
A dataframe with genes in rows and pvalues of a gene being upregulated and downregulated in columns
1 2 3 4 5 6 7 8 9 10 11 12 13 14 | # Import the dataset
Data = matrix(runif(5000, 10, 100), ncol=20)
group = paste0(rep(c("control", "case"), each = 10),rep(c(1:10),each = 1))
genes <- paste0(rep(LETTERS[1:25], each=10), rep(c(1:10),each = 1))
colnames(Data) = group
row.names(Data) = genes
# Normalizing data using one method
# Norm.data = tools.norm.Nanostring(raw.data = Data, tool = "nappa.NS")
# Analyze normalized data with one DEG method
#res.DEG = tools.DEG.Nanostring(raw.data = Data,
# data = Norm.data,
# tool_norm = "nappa.NS",
# tool = "RankProduct")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.