Title: | Retrieves data from IMPC database |
---|---|
Description: | Package contains methods for data retrieval from IMPC Database. |
Authors: | Natalja Kurbatova, Jeremy Mason |
Maintainer: | Jeremy Mason <[email protected]> |
License: | file LICENSE |
Version: | 1.43.0 |
Built: | 2024-10-30 07:30:44 UTC |
Source: | https://github.com/bioc/IMPCdata |
Returns alleles (MGI IDs or temporary IDs if the MGI ID is not assigned yet) that are processed for a specified combination of parameter, procedure, pipeline and phenotyping center. Temporary allele ID starts with "NULL".
getAlleles(PhenCenterName=NULL,PipelineID=NULL,ProcedureID=NULL, ParameterID=NULL,StrainID=NULL)
getAlleles(PhenCenterName=NULL,PipelineID=NULL,ProcedureID=NULL, ParameterID=NULL,StrainID=NULL)
PhenCenterName |
IMPC phenotyping center; mandatory argument |
PipelineID |
IMPC pipeline ID; mandatory argument |
ProcedureID |
IMPC procedure ID; mandatory argument |
ParameterID |
IMPC parameter ID; mandatory argument |
StrainID |
IMPC strain ID; optional argument |
Returns the list of IMPC alleles (IDS of alleles) that are processed measuring specified parameter within the procedure in the pipeline run by phenotyping center.
Natalja Kurbatova, Jeremy Mason
listAlleles <- getAlleles("RBRC","IMPC_001","IMPC_GRS_001","IMPC_GRS_003_001") for (alleleIndex in 1:min(length(listAlleles), 5)) { print(paste(listAlleles[alleleIndex],"-", getName("allele_accession_id","allele_symbol", listAlleles[alleleIndex]))) }
listAlleles <- getAlleles("RBRC","IMPC_001","IMPC_GRS_001","IMPC_GRS_003_001") for (alleleIndex in 1:min(length(listAlleles), 5)) { print(paste(listAlleles[alleleIndex],"-", getName("allele_accession_id","allele_symbol", listAlleles[alleleIndex]))) }
Returns the genes (MGI IDs) that are reported for a specified combination of parameter, procedure, pipeline and phenotyping center.
getGenes(PhenCenterName=NULL,PipelineID=NULL,ProcedureID=NULL,ParameterID=NULL,StrainID=NULL)
getGenes(PhenCenterName=NULL,PipelineID=NULL,ProcedureID=NULL,ParameterID=NULL,StrainID=NULL)
PhenCenterName |
IMPC phenotyping center; mandatory argument |
PipelineID |
IMPC pipeline ID; mandatory argument |
ProcedureID |
IMPC procedure ID; mandatory argument |
ParameterID |
IMPC parameter ID; mandatory argument |
StrainID |
IMPC strain ID; optional argument |
Returns the list of IMPC genes (IDS of genes) that are processed measuring specified parameter within the procedure in the pipeline run by phenotyping center.
Natalja Kurbatova, Jeremy Mason
listGenes <- getGenes("RBRC","IMPC_001","IMPC_GRS_001","IMPC_GRS_003_001") for (geneIndex in 1:min(length(listGenes), 5)) { print(paste(listGenes[geneIndex],"-", getName("gene_accession_id","gene_symbol",listGenes[geneIndex]))) }
listGenes <- getGenes("RBRC","IMPC_001","IMPC_GRS_001","IMPC_GRS_003_001") for (geneIndex in 1:min(length(listGenes), 5)) { print(paste(listGenes[geneIndex],"-", getName("gene_accession_id","gene_symbol",listGenes[geneIndex]))) }
Returns the IMPC dataset for a knockout line for a specified combination of parameter, procedure, pipeline, phenotyping centre, allele and strain (genetic background) that is used within the data analysis pipeline implemented on the IMPC database.
getIMPCDataset(PhenCenterName=NULL,PipelineID=NULL,ProcedureID=NULL,ParameterID=NULL, AlleleID=NULL,StrainID=NULL)
getIMPCDataset(PhenCenterName=NULL,PipelineID=NULL,ProcedureID=NULL,ParameterID=NULL, AlleleID=NULL,StrainID=NULL)
PhenCenterName |
IMPC phenotyping center; mandatory argument |
PipelineID |
IMPC pipeline ID; mandatory argument |
ProcedureID |
IMPC procedure ID; mandatory argument |
ParameterID |
IMPC parameter ID; mandatory argument |
AlleleID |
IMPC allele ID; mandatory argument |
StrainID |
IMPC strain ID; optional argument |
Returns the IMPC dataset as a data frame. - metadata_group string a string indicating a group of experimental and control mice that have the same metadata (see also biological_sample_group)
- metadata list of strings list showing all relevant metadata in effect when the data was collected
Natalja Kurbatova, Jeremy Mason
df <- getIMPCDataset("WTSI","MGP_001","IMPC_CBC_001","IMPC_CBC_008_001","MGI:4433526")
df <- getIMPCDataset("WTSI","MGP_001","IMPC_CBC_001","IMPC_CBC_008_001","MGI:4433526")
Returns the IMPC dataset. There are optional arguments to subset the IMPC dataset. Be aware that without filters this file output will be very large and the query will be time intensive.
getIMPCTable(fileName="IMPCdata",PhenCenterName=NULL, PipelineID=NULL, ProcedureID=NULL, ParameterID=NULL, AlleleID=NULL, StrainID=NULL, multipleFiles=TRUE,recordsPerFile=10000)
getIMPCTable(fileName="IMPCdata",PhenCenterName=NULL, PipelineID=NULL, ProcedureID=NULL, ParameterID=NULL, AlleleID=NULL, StrainID=NULL, multipleFiles=TRUE,recordsPerFile=10000)
fileName |
name of the file where to save resulting table with IMPC objects; mandatory argument; default value is set to 'IMPCdata' |
PhenCenterName |
IMPC phenotyping center |
PipelineID |
IMPC pipeline ID |
ProcedureID |
IMPC procedure ID |
ParameterID |
IMPC parameter ID |
AlleleID |
allele ID |
StrainID |
strain ID |
multipleFiles |
flag: "FALSE" value to get all records into one specified file; "TRUE" value (default) to split records across multiple files named starting with 'fileName' |
recordsPerFile |
number that specifies how many records to write into one file; default value is 10000 |
Returns the IMPC dataset.
Natalja Kurbatova, Jeremy Mason
getIMPCTable("./IMPCData_WTSI","WTSI","MGP_001","IMPC_CBC_001","IMPC_CBC_003_001","MGI:4431644")
getIMPCTable("./IMPCData_WTSI","WTSI","MGP_001","IMPC_CBC_001","IMPC_CBC_003_001","MGI:4431644")
Returns IMPC object name by its ID. An internal function, if called directly please use with caution.
getName(fieldNameFrom,fieldNameTo,fieldValueFrom)
getName(fieldNameFrom,fieldNameTo,fieldValueFrom)
fieldNameFrom |
name of the IMPC field for the object ID; mandatory argument |
fieldNameTo |
name of the IMPC field for the object name; mandatory argument |
fieldValueFrom |
actual IMPC object's ID to get the name for; mandatory argument |
Returns name of the object.
Natalja Kurbatova, Jeremy Mason
getName("pipeline_stable_id","pipeline_name","MGP_001")
getName("pipeline_stable_id","pipeline_name","MGP_001")
Returns the list of parameters (IMPReSS IDs) that are measured within specified procedure for a pipeline run by phenotyping center.
getParameters(PhenCenterName=NULL,PipelineID=NULL,ProcedureID=NULL)
getParameters(PhenCenterName=NULL,PipelineID=NULL,ProcedureID=NULL)
PhenCenterName |
IMPC phenotyping center; mandatory argument |
PipelineID |
IMPC pipeline ID; mandatory argument |
ProcedureID |
IMPC procedure ID; mandatory argument |
Returns the list of IMPC parameters (IDS of parameters) that are measured within specified procedure in the pipeline run by phenotyping center.
Natalja Kurbatova, Jeremy Mason
listParameters <- getParameters("WTSI","MGP_001","IMPC_CBC_001") for (parameterIndex in 1:min(length(listParameters), 5)) { print(paste(listParameters[parameterIndex],"-", getName("parameter_stable_id","parameter_name",listParameters[parameterIndex]))) }
listParameters <- getParameters("WTSI","MGP_001","IMPC_CBC_001") for (parameterIndex in 1:min(length(listParameters), 5)) { print(paste(listParameters[parameterIndex],"-", getName("parameter_stable_id","parameter_name",listParameters[parameterIndex]))) }
Returns the list of IMPC phenotyping centers.
getPhenCenters(excludeLegacyPipelines=TRUE)
getPhenCenters(excludeLegacyPipelines=TRUE)
excludeLegacyPipelines |
flag: FALSE value to get all IMPC phenotyping centers that run all kind of pipelines including legacy pipelines; TRUE value (default) to get IMPC phenotyping centers excluding centers that run only legacy pipelines |
Returns the list of IMPC phenotyping centers.
Natalja Kurbatova, Jeremy Mason
getPhenCenters()
getPhenCenters()
Returns the list of IMPC pipelines (IMPReSS IDs) that are run by specified phenotyping center.
getPipelines(PhenCenterName=NULL,excludeLegacyPipelines=TRUE)
getPipelines(PhenCenterName=NULL,excludeLegacyPipelines=TRUE)
PhenCenterName |
IMPC phenotyping center; mandatory argument |
excludeLegacyPipelines |
flag: "FALSE" value to get all pipelines including legacy pipelines; "TRUE" value (default) to get current IMPC pipelines excluding legacy pipelines |
Returns the list of IMPC pipelines (IDS of pipelines) that are run by specified phenotyping center.
Natalja Kurbatova, Jeremy Mason
listPipelines <- getPipelines("WTSI") for (pipelineIndex in 1:length(listPipelines)) { print(paste(listPipelines[pipelineIndex],"-", getName("pipeline_stable_id","pipeline_name",listPipelines[pipelineIndex]))) }
listPipelines <- getPipelines("WTSI") for (pipelineIndex in 1:length(listPipelines)) { print(paste(listPipelines[pipelineIndex],"-", getName("pipeline_stable_id","pipeline_name",listPipelines[pipelineIndex]))) }
Returns the list of procedures (IMPReSS IDs) that are run for a specified phenotyping center and pipeline.
getProcedures(PhenCenterName=NULL,PipelineID=NULL)
getProcedures(PhenCenterName=NULL,PipelineID=NULL)
PhenCenterName |
IMPC phenotyping center; mandatory argument |
PipelineID |
IMPC pipeline ID; mandatory argument |
Returns the list of IMPC procedures (IDS of procedures) that are run by specified phenotyping center and pipeline.
Natalja Kurbatova, Jeremy Mason
listProcedures <- getProcedures("WTSI","MGP_001") for (procedureIndex in 1:min(length(listProcedures), 5)) { # Print the name of 5 procedures print(paste(listProcedures[procedureIndex],"-", getName("procedure_stable_id","procedure_name",listProcedures[procedureIndex]))) }
listProcedures <- getProcedures("WTSI","MGP_001") for (procedureIndex in 1:min(length(listProcedures), 5)) { # Print the name of 5 procedures print(paste(listProcedures[procedureIndex],"-", getName("procedure_stable_id","procedure_name",listProcedures[procedureIndex]))) }
Returns the genetic background (MGI IDs) from which the knockout mice were derived for a specific combination of pipeline, procedure and paramater for a phenotyping center.
getStrains(PhenCenterName=NULL,PipelineID=NULL,ProcedureID=NULL,ParameterID=NULL)
getStrains(PhenCenterName=NULL,PipelineID=NULL,ProcedureID=NULL,ParameterID=NULL)
PhenCenterName |
IMPC phenotyping center; mandatory argument |
PipelineID |
IMPC pipeline ID; mandatory argument |
ProcedureID |
IMPC procedure ID; mandatory argument |
ParameterID |
IMPC parameter ID; mandatory argument |
Returns the list of IMPC strains (IDS of strains) that are processed measuring specified parameter within the procedure in the pipeline run by phenotyping center.
Natalja Kurbatova, Jeremy Mason
listStrains <- getStrains("WTSI","MGP_001","IMPC_CBC_001","IMPC_CBC_003_001") for (strainIndex in 1:length(listStrains)) { print(paste(listStrains[strainIndex],"-", getName("strain_accession_id","strain_name",listStrains[strainIndex]))) }
listStrains <- getStrains("WTSI","MGP_001","IMPC_CBC_001","IMPC_CBC_003_001") for (strainIndex in 1:length(listStrains)) { print(paste(listStrains[strainIndex],"-", getName("strain_accession_id","strain_name",listStrains[strainIndex]))) }
Returns the list of zygosities (homozygous, heterozygous and hemizygous) for mice that were measured for a gene/allele for a specificed combination of parameter, procedure, pipeline and phenotyping center.
getZygosities(PhenCenterName=NULL,PipelineID=NULL,ProcedureID=NULL,ParameterID=NULL, StrainID=NULL,GeneID=NULL, AlleleID=NULL)
getZygosities(PhenCenterName=NULL,PipelineID=NULL,ProcedureID=NULL,ParameterID=NULL, StrainID=NULL,GeneID=NULL, AlleleID=NULL)
PhenCenterName |
IMPC phenotyping center; mandatory argument |
PipelineID |
IMPC pipeline ID; mandatory argument |
ProcedureID |
IMPC procedure ID; mandatory argument |
ParameterID |
IMPC parameter ID; mandatory argument |
StrainID |
IMPC strain ID; optional argument |
GeneID |
IMPC gene ID; optional argument |
AlleleID |
IMPC allele ID; optional argument |
Returns the list of IMPC genes (IDS of genes) that are processed measuring specified parameter within the procedure in the pipeline run by phenotyping center.
Natalja Kurbatova, Jeremy Mason
listZygosities <- getZygosities("WTSI","MGP_001","IMPC_CBC_001","IMPC_CBC_003_001",GeneID="MGI:1194894") for (zygosityIndex in 1:length(listZygosities)) { print(listZygosities[zygosityIndex]) }
listZygosities <- getZygosities("WTSI","MGP_001","IMPC_CBC_001","IMPC_CBC_003_001",GeneID="MGI:1194894") for (zygosityIndex in 1:length(listZygosities)) { print(listZygosities[zygosityIndex]) }
Prints out alleles (MGI IDs or temporary IDs if the MGI is not assigned yet and symbols) that are processed for a specified combination of parameter, procedure, pipeline and phenotyping center. Temporary allele ID starts with "NULL".
printAlleles(PhenCenterName=NULL,PipelineID=NULL,ProcedureID=NULL, ParameterID=NULL,StrainID=NULL,n=NULL)
printAlleles(PhenCenterName=NULL,PipelineID=NULL,ProcedureID=NULL, ParameterID=NULL,StrainID=NULL,n=NULL)
PhenCenterName |
IMPC phenotyping center; mandatory argument |
PipelineID |
IMPC pipeline ID; mandatory argument |
ProcedureID |
IMPC procedure ID; mandatory argument |
ParameterID |
IMPC parameter ID; mandatory argument |
StrainID |
IMPC strain ID; optional argument |
n |
print only first n alleles; optional argument |
Returns the character containing IMPC alleles (IDs and names of alleles)
Natalja Kurbatova, Jeremy Mason
printAlleles("RBRC","IMPC_001","IMPC_GRS_001","IMPC_GRS_003_001", n = 5)
printAlleles("RBRC","IMPC_001","IMPC_GRS_001","IMPC_GRS_003_001", n = 5)
Prints out genes (MGI IDs and symbols) that are reported for a specified combination of parameter, procedure, pipeline and phenotyping center.
printGenes(PhenCenterName=NULL,PipelineID=NULL,ProcedureID=NULL, ParameterID=NULL,StrainID=NULL,n=NULL)
printGenes(PhenCenterName=NULL,PipelineID=NULL,ProcedureID=NULL, ParameterID=NULL,StrainID=NULL,n=NULL)
PhenCenterName |
IMPC phenotyping center; mandatory argument |
PipelineID |
IMPC pipeline ID; mandatory argument |
ProcedureID |
IMPC procedure ID; mandatory argument |
ParameterID |
IMPC parameter ID; mandatory argument |
StrainID |
IMPC strain ID; optional argument |
n |
print only first n genes; optional argument |
Returns the character containing IMPC genes (IDs and names of genes)
Natalja Kurbatova, Jeremy Mason
printGenes("RBRC","IMPC_001","IMPC_GRS_001","IMPC_GRS_003_001", n = 5)
printGenes("RBRC","IMPC_001","IMPC_GRS_001","IMPC_GRS_003_001", n = 5)
Prints out the list of parameters (IMPReSS IDs and names) that are measured within specified procedure for a pipeline run by phenotyping center.
printParameters(PhenCenterName=NULL,PipelineID=NULL,ProcedureID=NULL,n=NULL)
printParameters(PhenCenterName=NULL,PipelineID=NULL,ProcedureID=NULL,n=NULL)
PhenCenterName |
IMPC phenotyping center; mandatory argument |
PipelineID |
IMPC pipeline ID; mandatory argument |
ProcedureID |
IMPC procedure ID; mandatory argument |
n |
print only first n parameters; optional argument |
Returns the character containing IMPC parameters (IDs and names of parameters)
Natalja Kurbatova, Jeremy Mason
printParameters("WTSI","MGP_001","IMPC_CBC_001", n = 5)
printParameters("WTSI","MGP_001","IMPC_CBC_001", n = 5)
Prints out the list of IMPC phenotyping centers.
printPhenCenters(n=NULL, excludeLegacyPipelines=TRUE)
printPhenCenters(n=NULL, excludeLegacyPipelines=TRUE)
n |
print only first n phenotyping centers; optional argument |
excludeLegacyPipelines |
flag: "FALSE" value to print all IMPC phenotyping centers that run all kind of pipelines including legacy pipelines; "TRUE" value (default) to print IMPC phenotyping centers excluding centers that run only legacy pipelines |
Returns the character with IMPC phenotyping centers.
Natalja Kurbatova, Jeremy Mason
printPhenCenters(excludeLegacyPipelines = FALSE)
printPhenCenters(excludeLegacyPipelines = FALSE)
Prints out the list of IMPC pipelines (IMPReSS IDs and names) that are run by specified phenotyping center.
printPipelines(PhenCenterName=NULL,n=NULL, excludeLegacyPipelines=TRUE)
printPipelines(PhenCenterName=NULL,n=NULL, excludeLegacyPipelines=TRUE)
PhenCenterName |
IMPC phenotyping center; mandatory argument |
n |
print only first n pipelines; optional argument |
excludeLegacyPipelines |
flag: "FALSE" value to print all pipelines including legacy pipelines; "TRUE" value (default) to print current IMPC pipelines excluding legacy pipelines |
Returns the character containing IMPC pipelines (IDs and names of pipelines)
Natalja Kurbatova, Jeremy Mason
printPipelines("WTSI")
printPipelines("WTSI")
Prints out the list of procedures (IMPReSS IDs and names) that are run for a specified phenotyping center and pipeline.
printProcedures(PhenCenterName=NULL,PipelineID=NULL,n=NULL)
printProcedures(PhenCenterName=NULL,PipelineID=NULL,n=NULL)
PhenCenterName |
IMPC phenotyping center; mandatory argument |
PipelineID |
IMPC pipeline ID; mandatory argument |
n |
print only first n procedures; optional argument |
Returns the character containing IMPC procedures (IDs and names of procedures)
Natalja Kurbatova, Jeremy Mason
printProcedures("WTSI","MGP_001", 5)
printProcedures("WTSI","MGP_001", 5)
Prints out the genetic background (MGI IDs and strain name) from which the knockout mice were derived for a specific combination of pipeline, procedure and paramater for a phenotyping center.
printStrains(PhenCenterName=NULL,PipelineID=NULL,ProcedureID=NULL, ParameterID=NULL,n=NULL)
printStrains(PhenCenterName=NULL,PipelineID=NULL,ProcedureID=NULL, ParameterID=NULL,n=NULL)
PhenCenterName |
IMPC phenotyping center; mandatory argument |
PipelineID |
IMPC pipeline ID; mandatory argument |
ProcedureID |
IMPC procedure ID; mandatory argument |
ParameterID |
IMPC parameter ID; mandatory argument |
n |
print only first n strains; optional argument |
Returns the character containing IMPC strains (IDs and names of strains)
Natalja Kurbatova, Jeremy Mason
printStrains("WTSI","MGP_001","IMPC_CBC_001","IMPC_CBC_003_001")
printStrains("WTSI","MGP_001","IMPC_CBC_001","IMPC_CBC_003_001")