View source: R/create_tibble.r
create_congas_tibble | R Documentation |
This function takes in input a SummarizedExperiment object with rowranges and and creates a tibble with counts needed to create the Rcongas object.
create_congas_tibble(
counts,
features = NULL,
modality = "ATAC",
save_dir = NULL,
output_file = "counts_final.tsv"
)
counts |
(Required). Count matrix with cells in columns and genes/bins in rows. |
features |
(Required) Dataframe containing columns chr, from, to and (only if RNA) gene. |
modality. |
Default 'ATAC' It has to be either ATAC or RNA based on the content of the count matrix. |
output_dir. |
Optional. Default = NULL. Directory where to save the tibble as a |
output_file. |
Optional, default is 'counts_final.tsv'. Name to give to the counts file. Note that this has not effect is |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.