Description Usage Arguments Functions Author(s) See Also
View source: R/write_textfiles_to_share.R
Write text files to share the data stored in a BAf-class
object
with collaborators
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 | write_textfiles_to_share(
baf,
prefix = "BAf",
suffix = paste0("(", Sys.Date(), ")"),
path = "_sent",
fn_data = "-data",
fn_sample = NULL,
fn_binder = NULL,
incl_sample_i = c("id"),
incl_binder_i = c("id"),
fix_sid = c(),
quote = TRUE,
sep = "\t"
)
write_textfiles_to_share.SBA(
baf,
prefix = "SBA",
suffix = paste0("(", Sys.Date(), ")"),
path = "_sent",
fn_data = "-data",
fn_sample = NULL,
fn_binder = NULL,
incl_sample_i = c("id"),
incl_binder_i = c("id", "gene_name", "gene_description", "ensg_id"),
fix_sid = c(NEG_CTRL = "EMPTY-0001", REPEATED_SAMPLE = "MIX_1-0001"),
quote = TRUE,
sep = "\t"
)
|
baf |
an object of the |
prefix |
prefix used in file name. An ID for sample set is recommended. |
suffix |
the suffix in the file name |
path |
where those files should be saved. |
fn_data |
the characters added into the name of the BAf MFI data file to indicate it contains data (e.g '-data') |
fn_sample, fn_binder |
the characters added into the name of the file of sample/binder information. If this is NULL as the default, the file will be not generated. |
incl_sample_i, incl_binder_i |
the columns in BAf@sinfo/@binder that will
be included in 'data'/'binder' file. The column for sample IDs at least
should be included in |
fix_sid |
a named vector of characters. The sample IDs that match to any
of those characters will be replaced with the corresponding name in this
vector. An examples is |
quote |
same as |
sep |
seperator in the output text files. Tab is the default. |
write_textfiles_to_share.SBA
: When 'baf' has SBA data. Just different
default settings.
Mun-Gwan Hong, mun-gwan.hong@scilifelab.se
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.