Description Usage Arguments Details Value Examples
View source: R/get_valid_gene_lists.R
Gene lists for EWCE must have 4 or more genes. These genes must also be present in the CTD file (see EWCE docs), and must be unique (occasionally a gene list may contain the same gene repeated. This would cause an error).
1 2 3 4 5 6 7 | get_valid_gene_lists(
ctd,
list_names,
gene_data,
list_name_column = "Phenotype",
gene_column = "Gene"
)
|
ctd |
CTD (cell type data file) see EWCE docs |
list_names |
Vector of gene list names (character vector) |
gene_data |
data frame containing a gene column and a column of list_names |
list_name_column |
The name of the column that contains gene list_names (string) |
gene_column |
The name of the gene column (e.g. "Gene") (string) |
This function gets gene lists that have atleast four unique genes that are also present in the CTD file.
A character vector of list_names that are associated with a valid number of genes
1 2 3 4 5 6 7 8 | ## Not run:
remove_invalid_gene_lists(ctd,
list_names,
gene_data,
list_names_column = "Phenotype",
gene_column = "Gene")
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.