Description Usage Arguments Details Value Author(s) Examples
Imputes biological sex of each sample in a Dataset object
1 |
myDataset |
|
femGenes |
vector of gene symbols of genes higher expressed in females. Defaults to NULL |
malGenes |
vector of gene symbols of genes higher expressed in males. Defaults to NULL |
Imputes the sex of each sample in a Dataset object by performing K means clustering. If genes higher expressed in females (femGenes) and genes higher expressed in males (malGenes) are not supplied, then clustering is performed on a default set of known X-escape genes (Tukiainen et al. 2017 Nature) and Y-chromosome genes. Genes were chosen as a subset of the immune Sex Expression Signature (iSEXS) (Bongen et al. In Prep.)
Known X-Escape genes: "XIST","RPS4X","CD40LG","ZRSR2","EFHC2","CA5B","ZFX","EIF1AX","CA5BP1","UBA1","SYAP1","DDX3X","FUNDC1","USP9X","SMC1A","NUP62CL","NAA10"
Y-Chromosome genes: "KDM5D","RPS4Y1","EIF1AY","USP9Y","DDX3Y","UTY","PRKY","ZFY","TMSB4Y"
a vector indicating whether each sample is classified as "male" or "female"
Erika Bongen
1 2 3 4 5 6 7 | # Add sex labels to your dataset of choice
## Not run:
myDatasets = getGEOData(c("GSE13485","GSE17156","GSE19442"))
myDatasets$originalData$GSE13485$pheno$sex = imputeSex(myDatasets$originalData$GSE13485)
myDatasets$originalData$GSE13485$pheno$sex
## End(Not run)
|
Setting options('download.file.method.GEOquery'='auto')
Setting options('GEOquery.inmemory.gpl'=FALSE)
Length Class Mode
GSE13485 0 -none- NULL
GSE17156 0 -none- NULL
GSE19442 0 -none- NULL
Warning messages:
1: In .geoquery_gems_2_singlelist(originalData, formattedNames) :
Unable to correctly download GSE13485 . Dataset will be excluded from this object.
2: In .geoquery_gems_2_singlelist(originalData, formattedNames) :
Unable to correctly download GSE17156 . Dataset will be excluded from this object.
3: In .geoquery_gems_2_singlelist(originalData, formattedNames) :
Unable to correctly download GSE19442 . Dataset will be excluded from this object.
Warning message:
In imputeSex(myDatasets$originalData$GSE13485) :
Sex classification genes not present in dataset
NULL
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.