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

cnFreq did not detect identical genomic segments for all patients #360

Open
hannaeng opened this issue May 28, 2019 · 4 comments
Open

cnFreq did not detect identical genomic segments for all patients #360

hannaeng opened this issue May 28, 2019 · 4 comments

Comments

@hannaeng
Copy link

Hi,

I am trying to construct frequency plots for copy number data using cnFreq but I received an error message saying the following:

#load data
CNdata <- read.delim("cnFreq_CN data (91 patients).txt", header=FALSE)
colnames(CNdata) <- c("chromosome", "start", "end", "segmean", "sample")
#call the cnFreq function
cnFreq(CNdata, genome="hg38")
Did not detect identical genomic segments for all samples ...Performing disjoin operation
Error in .Call2("solve_user_SEW0", start, end, width, PACKAGE = "IRanges") :
solving row 1: range cannot be determined from the supplied arguments (too many NAs)
In addition: Warning messages:
1: In cnFreq_qual(x) : NAs introduced by coercion
2: In cnFreq_qual(x) : NAs introduced by coercion
3: In cnFreq_qual(x) : NAs introduced by coercion

My input file:
image

I am using GenVisR v. 1.16.0.

Is it also possible to stratify patients according to different groups and to create frequency plots for the same?

Thank you for your help.

Kind regards,
Hanna

@zlskidmore
Copy link
Member

Hi Hanna,

Can you send me the output of str() on your data frame? I suspect a column, maybe start or end is not numeric?

@hannaeng
Copy link
Author

hannaeng commented Jun 2, 2019 via email

@youtruth
Copy link

Hi Hanna,

Can you send me the output of str() on your data frame? I suspect a column, maybe start or end is not numeric?

Could I also hear an answer to this error? I'm in a similar situation and curious about how it was resolved.

@zlskidmore
Copy link
Member

I recall a issue recently where the input contained the same sample repeated, GenVisR does not perform this type of QC check. Can you test this? Otherwise to debug try just two samples and see if it still errors

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

3 participants