View source: R/weight_calculation.R
get_gene_length | R Documentation |
The data resources comes from the ensembl genome browser (useast.ensembl.org/index.html).
get_gene_length(gene_label = "symbols", comb = "mean")
gene_label |
is the returning gene labels, it can be "ensembl_gene_id" or "symbols" |
comb |
is the estimation method based on multiple records of transcription lengths. It can be "median","mean","max","min", which calculate the median, mean,max and min of genes or do nothing on them. |
the numeric vector representing prior information for each single gene's length
Durinck, Steffen, et al. "Mapping identifiers for the integration of genomic datasets with the R/Bioconductor package biomaRt." Nature protocols 4.8 (2009): 1184.
biomaRt
prior_length=get_gene_length(gene_label="symbols",comb="median")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.