We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fwrite
fread
general
https://rdrr.io/cran/data.table/man/fwrite.html
library(data.table) fwrite(as.data.frame(GetAssayData(object = seurat_object, slot = "scale.data", assay = "SCT")), file = file.path(result_dir, paste0(step, 'scaled_', 'RNA', '.csv')), row.names=TRUE) # more general #fast writing fwrite(as.data.frame(df), file=file.path("path/to/file.csv"), row.names=TRUE) #fast reading df <- data.frame(fread(file.path("path/to/file.csv"), header=TRUE), row.names=1)
The text was updated successfully, but these errors were encountered:
not the same! differences
new comparison diff --brief <(tail -n +2 NORMALIZED_RNA.csv | cut -d, -f2-) <(tail -n +2 NORMALIZED_RNA_original.csv | cut -d, -f2-) Files /dev/fd/63 and /dev/fd/62 differ
compare with brief diff diff --brief NORMALIZED_RNA_original.csv NORMALIZED_RNA.csv
head -n 1 NORMALIZED_RNA.csv | cut -c 1-100 "",EMICROP_A_AAACCTGAGAATAGGG-1,EMICROP_A_AAACCTGAGACAATAC-1,EMICROP_A_AAACCTGAGACGACGT-1,EMICROP_A_
head -n 1 NORMALIZED_RNA_original.csv | cut -c 1-100 "","EMICROP_A_AAACCTGAGAATAGGG.1","EMICROP_A_AAACCTGAGACAATAC.1","EMICROP_A_AAACCTGAGACGACGT.1","EMI
tail -n 1 NORMALIZED_RNA.csv | cut -c 1-100 "28441",0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
tail -n 1 NORMALIZED_RNA_original.csv | cut -c 1-100 "AC007325.4",0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
Sorry, something went wrong.
improveread and write performance #15
e73d665
sreichl
No branches or pull requests
fwrite
fread
general
https://rdrr.io/cran/data.table/man/fwrite.html
The text was updated successfully, but these errors were encountered: