Skip to content
New issue

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

HiCDOCDataSetFromTabular #7

Open
gk1610 opened this issue Sep 11, 2023 · 1 comment
Open

HiCDOCDataSetFromTabular #7

gk1610 opened this issue Sep 11, 2023 · 1 comment
Assignees

Comments

@gk1610
Copy link

gk1610 commented Sep 11, 2023

Hi
Everytime I try to read .tsv file with 2 conditions using HiCDOCDataSetFromTabular function, I get the following error. Could you please post your example.tsv file? I can then try your example file with HiCDOCDataSetFromTabular

First few lines of temp.tsv file
chromosome position 1 position 2 1.R1 2.R1
22 100000 100000 0 0
22 100000 200000 0 0
22 100000 200000 0 0
22 100000 300000 0 0

hic.experiment <- HiCDOCDataSetFromTabular('/temp.tsv')
Parsing '
/temp.tsv'.
Error in rbind(assay, as.matrix(rep(0, nb * ncol(assay)), ncol = ncol(assay), :
number of columns of matrices must match (see arg 2)

@emaigne emaigne self-assigned this Nov 6, 2023
@emaigne
Copy link
Collaborator

emaigne commented Nov 6, 2023

Hi,
Sorry for the delay.
Your structure seems fine but is it tab separated ? If it is a space separator I guess the columns names are mixing things up (position 1).
Here is an example of tsv file. example.zip

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants