createMetadata.Rd
updated 02/2024
createMetadata(
signature_name,
organism,
phenotype = "unknown",
assay_type,
covariates = "none",
platform = "GPLXXXXX",
direction_type,
sample_type = NULL,
signature_collection = NULL,
author = NULL,
year = NULL,
PMID = NULL,
keywords = NULL,
description = NULL,
category_num = NULL,
logfc_cutoff = NULL,
p_value_cutoff = NULL,
adj_p_cutoff = NULL,
score_cutoff = NULL,
cutoff_description = NULL,
others = NULL
)
required. name of the signature.
required. e.g. "Homo Sapiens", "Mus Musculus".
optional but highly recommended. e.g. "Gene KO", "Parkinson disease". Use "unknown" or NULL if not applicable.
required. e.g. "transcriptomics", "proteomics", "metabolomics", "methylomics", "methylomics", "genetic_variations", "DNA_binding_sites". some common misspell, e.g. "gene", "protein", "metab" will be changed automatically.
optional. e.g. "gender", "age".
optional but highly recommended. GEO platform name. e.g. "GPL11154" is for Illumina HiSeq 2000 Homo sapiens. Use "GPLXXXXX" or NULL if not available.
required. the direction information of the signature. "uni" or "uni-directional" if signature has only one direction or no direction infomation. "bi" or "bi-directional" if signature contains "up" and "down" regulated features. "categorical" if the signature contains more categories.
optional but highly recommended. a cell line or tissue from BRENDA ontology.
optional. collection name that the signature belongs to.
optional. the author name.
optional. the year when the signature was created or published.
optional. the PubMed ID if the signature is from a published article.
optional. key words for the signature. examples are "longevity", "perturbation". "drug".
optional. free text to describe the signature.
required when direction_type = "categorical". numeric. indicates how many categories or class the signature contains.
optional. log fold change cutoff used to generate the signature, if applicable.
optional. p value cutoff used to generate the signature, if applicable.
optional. adjusted p-value, e.g. fdr, cutoff used to generate the signature, if applicable.
optional. score cutoff used to generate the signature, if applicable.
optional. discription of the cutoff, if applicable.
provide additional user-defined metadata fields as a list. for example, others = list("animal_strain" = "C57BL/6", "lab" = "new_lab").
a metadata list to create an OmicSignature R6 object.