Given a list of genes beloging to a different classes, like markers, plot for each group, the expression values for all the samples.
degSignature(counts, signature, group = NULL, metadata = NULL)
counts | expression data. It accepts bcbioRNASeq, DESeqDataSet and SummarizedExperiment. As well, data.frame or matrix is supported, but it requires metadata in that case. |
---|---|
signature | data.frame with two columns: a) genes that match row.names of counts, b) label to classify the gene inside a group. Normally, cell tissue name. |
group | character in metadata used to split data into different groups. |
metadata | data frame with sample information. Rownames
should match |
ggplot plot.
data(humanGender) data(geneInfo) degSignature(humanGender, geneInfo, group = "group")