Charles Joly Beauparlant
This package and the underlying metagene code are distributed under the Artistic license 2.0. You are free to use and redistribute this software.
TODO
library("FantomTSS.hg19")
get_fantom_tss
The get_fantom_tss
functions returns a GRanges
object with all the tss and no metadata columns:
get_fantom_tss()
get_fantom_tss_tpm
The get_fantom_tss_tpm
returns a GRanges
object with all the tss and selected metadata columns:
To get the expression of tss in A549:
get_fantom_tss_tpm(cell_lines = "A549")
To get the expression of tss in A549 and K562:
get_fantom_tss_tpm(cell_lines = c("A549", "K562"))
To merge all the columns for a cell line by calculating the mean value for each tss:
get_fantom_tss_tpm(cell_lines = c("A549", "K562"), merge.FUN = mean)
To merge all the columns for a cell line by calculating the sum for each tss:
get_fantom_tss_tpm(cell_lines = c("A549", "K562"), merge.FUN = sum)
It's also possible to create our own function, as long as it take a vector
of numeric
as input and outputs a single numeric
value:
# We create a dummy function that returns first element of a vector dummy_function <- function(x) { x[1] } get_fantom_tss_tpm(cell_lines = c("A549", "K562"), merge.FUN = dummy_function)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.