View source: R/gi_list_write.R
gi_list_write | R Documentation |
Writes a valid gi_list instance into a file.
gi_list_write( gi_list, fname, chrs = NULL, columns = "minimal", rows = "all", significance_threshold = 0.05, score = NULL )
gi_list |
List of |
fname |
path to the file to write to (can end with .txt, or .txt.gz). |
chrs |
select a subset of chromosomes' e.g.,
c('chr21','chr22'). Defaults to all chromosomes
in the |
columns |
Can be 'minimal', which is
just distance and counts (and |
rows |
Can be 'all' or 'significant', which filters rows according to
FDR adjusted pvalue column 'qvalue' (this has to exist in |
significance_threshold |
Row filtering threshold on 'qvalue'. Defaults to 0.05. |
score |
Score column to extract to .hic pre compatible file.
See |
a tab separated flat file concatenating all intra-chromosomal interaction information.
outputdir<-paste0(tempdir(check=TRUE),'/') gi_list<-generate_binned_gi_list(1e6,chrs='chr22') gi_list_write(gi_list,paste0(outputdir,'test.txt'))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.