formatData | R Documentation |
This function formats the data downloaded with the getData() function into an object of the Bioconductor "expressionSet" Class.
formatData(myBgeeObject, data, stats = NULL, callType = "all")
myBgeeObject |
A Reference Class Bgee object, notably specifying the targeted species and data type. |
data |
A list of data frames including data from multiple experiments, or a data frame including data from a single experiment. |
stats |
A character indicating what expression values should be used in the formatted data expressionSet object matrix.
|
callType |
A character indicating whether intensities should be displayed only for present (i.e., expressed) genes, present high quality genes, or all genes (default).
|
If data was a list of data frames from multiple experiments, returns a list of ExpressionSet objects. If data was a data frame from a single experiment, returns an ExpressionSet object.
Andrea Komljenovic and Julien Roux.
{
bgee <- Bgee$new(species = "Mus_musculus", dataType = "rna_seq")
dataMouseGSE43721 <- getData(bgee, experimentId = "GSE43721")
dataMouseGSE43721.fpkm <- formatData(bgee,
dataMouseGSE43721,
callType = "present",
stats = "fpkm")
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.