write_bed_file_filter_result {metagene} | R Documentation |
Transforms the bed_file_filter function output into a file.BED readable by metagene.
write_bed_file_filter_result(bed_file_filter_result, file = "file_name", path = "./")
bed_file_filter_result |
A |
file |
the name of the output file without the extension |
path |
The path where the function will write the file |
output of write function
## Not run: require(EnsDb.Hsapiens.v86) edb <- EnsDb.Hsapiens.v86 quantification_files <- 'file_path' ebgwot <- exon_by_gene_with_observed_transcripts(edb, quantification_files) bed_file_content_gr <- GRanges("chr16",ranges = IRanges(start=23581002, end=23596356)) bffr <- bed_file_filter(ebgwot, bed_file_content_gr) write_bed_file_filter_result(bffr, file='test','./') ## End(Not run)