Skip to content

UCSCXenaTools: Retrieve Gene Expression and Clinical Information from UCSC Xena for Survival Analysis #40

Closed
@gbregni

Description

@gbregni

Hi,
I tried to use the markdown published on https://ropensci.org/blog/2019/09/06/ucscxenatools-surv/

This is what happens:

merged_data = tibble(sampleID = names(KRAS),
KRAS_expression = as.numeric(KRAS)) %>%
left_join(cli, by = "sampleID") %>%
filter(sample_type == "Primary Tumor") %>% # Keep only 'Primary Tumor'
select(sampleID, KRAS_expression, OS.time, OS) %>%
rename(time = OS.time,
status = OS)

Error in auto_copy():
! x and y must share the same src.
x is a <tbl_df/tbl/data.frame> object.
y is a list.
ℹ Set copy = TRUE if y can be copied to the same source as x (may be slow).
Run rlang::last_trace() to see where the error occurred.

#I think this is due to the fact that cli is not a 6 x 157 nibble as in your markdown, but rather a list of 2 tibbles ($LUAD_clinicalMatrix # and $LUAD_survival.txt), each containing part of the needed info. Any suggestions? Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions